1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

php7.4 / psalm fixes

This commit is contained in:
David Goodwin
2020-01-31 16:30:46 +00:00
parent 882b6835ed
commit 1ad184641d
9 changed files with 12 additions and 10 deletions

View File

@ -586,7 +586,7 @@ class MailboxHandler extends PFAHandler {
if ($quota <= 0) {
$quota = 0;
} # TODO: check if this is correct behaviour
$cmdarg4=escapeshellarg($quota);
$cmdarg4 = escapeshellarg("" . $quota);
$command= "$cmd $cmdarg1 $cmdarg2 $cmdarg3 $cmdarg4";
$retval=0;
$output=array();