Skip to content
Snippets Groups Projects
Commit 2dd52c04 authored by Michael Davis's avatar Michael Davis
Browse files

[cta-admin] Fixes #525 display JSON ] if no results

parent 81058c43
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
return c; return c;
} }
static std::string jsonCloseDelim() { static std::string jsonCloseDelim() {
return is_first_record ? "" : "]"; return is_first_record ? "[]" : "]";
} }
// Static method to convert time to string // Static method to convert time to string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment