diff --git a/functions.inc.php b/functions.inc.php index 5dd7a389..7053696c 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1345,8 +1345,8 @@ function db_get_boolean($bool) { * @return string */ function db_quota_text($count, $quota, $fieldname) { - if (db_sqlite()) { - // SQLite uses || to concatenate strings + if (db_pgsql() || db_sqlite()) { + // SQLite and PostgreSQL use || to concatenate strings return " CASE $quota WHEN '-1' THEN (coalesce($count,0) || ' / -') WHEN '0' THEN (coalesce($count,0) || ' / " . escape_string(html_entity_decode('∞')) . "')