Api: Switch double quotes to single quotes to be standard SQL and avoid Postresql errors

This commit is contained in:
nathangray 2020-04-27 09:17:16 -06:00
parent e89d3cdba0
commit 631be5769d

View File

@ -1060,7 +1060,7 @@ class Accounts
'table' => $table, 'table' => $table,
'cols' => array( 'cols' => array(
"'$app' AS app", "'$app' AS app",
'"total" AS type', "'total' AS type",
'count(' . $column['key'] . ') AS count' 'count(' . $column['key'] . ') AS count'
), ),
'where' => array( 'where' => array(