Skip to content

Commit e96469e

Browse files
author
Florian Schaal
committed
cosmetical fix for db-quota
1 parent b631194 commit e96469e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/web/sites/database_quota_stats.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ function prepareDataRow($rec) {
8080
$client = $app->db->queryOneRecord("SELECT * FROM client WHERE client_id = ?", $sys_group['client_id']);
8181
$rec['client'] = $client['username'];
8282
$rec['used'] = 'n/a';
83+
if (empty($rec['database_quota'])) $rec['database_quota'] = 0;
84+
$rec['quota'] = $rec['database_quota'];
8385
$rec['quota'] = 'n/a';
8486
}
8587
$rec['id'] = $rec[$this->idx_key];

0 commit comments

Comments
 (0)