mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
composer format
This commit is contained in:
parent
d25632cc6e
commit
82f9db0535
@ -838,7 +838,8 @@ function encode_header($string, $default_charset = "utf-8") {
|
||||
function random_int($min, $max) {
|
||||
return mt_rand($min, $max);
|
||||
}
|
||||
/**/ }
|
||||
/**/
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a random password of $length characters.
|
||||
@ -1993,7 +1994,6 @@ function db_where_clause($condition, $struct, $additional_raw_where = '', $searc
|
||||
} elseif ($operator == "NOTNULL") {
|
||||
$querypart = $field . ' IS NOT NULL';
|
||||
} else {
|
||||
|
||||
$querypart = $field . $operator . "'" . escape_string($value) . "'";
|
||||
|
||||
// might need other types adding here.
|
||||
|
@ -216,7 +216,6 @@ class MailboxHandler extends PFAHandler {
|
||||
|
||||
|
||||
protected function beforestore() {
|
||||
|
||||
if (isset($this->values['quota']) && is_numeric($this->values['quota']) && $this->values['quota'] != -1) {
|
||||
$multiplier = Config::read('quota_multiplier');
|
||||
if ($multiplier == 0 || !is_numeric($multiplier)) { // or empty string, or null, or false...
|
||||
|
Loading…
Reference in New Issue
Block a user