mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
fix psalm
This commit is contained in:
parent
338fb8c564
commit
d81363541a
@ -208,7 +208,7 @@ class MailboxHandler extends PFAHandler {
|
||||
foreach ($db_result as $key => $row) {
|
||||
if (isset($row['quota']) && is_numeric($row['quota']) && $row['quota'] > -1) { # quota could be disabled in $struct
|
||||
$db_result[$key]['quotabytes'] = $row['quota'];
|
||||
$db_result[$key]['quota'] = divide_quota($row['quota']); # convert quota to MB
|
||||
$db_result[$key]['quota'] = divide_quota( (int) $row['quota']); # convert quota to MB
|
||||
} else {
|
||||
$db_result[$key]['quotabytes'] = -1;
|
||||
$db_result[$key]['quota'] = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user