From 631be5769df30087c15fd37cb876790442e4ff9f Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 27 Apr 2020 09:17:16 -0600 Subject: [PATCH] Api: Switch double quotes to single quotes to be standard SQL and avoid Postresql errors --- api/src/Accounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Accounts.php b/api/src/Accounts.php index 5f728f3090..ea0d394ee2 100644 --- a/api/src/Accounts.php +++ b/api/src/Accounts.php @@ -1060,7 +1060,7 @@ class Accounts 'table' => $table, 'cols' => array( "'$app' AS app", - '"total" AS type', + "'total' AS type", 'count(' . $column['key'] . ') AS count' ), 'where' => array(