X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Fmaintenance.php;h=a697e66d5ae4b76ca72210c511ae1c2332d06fba;hb=411a4004723b7822ad9484a57b5dcc4880449ef3;hp=40634e0d89de1d33dee9bd95f7d7d353525721a7;hpb=569cd459ec2e482ffff3de35877af8c7b3b02bfe;p=friendica.git diff --git a/util/maintenance.php b/util/maintenance.php index 40634e0d89..a697e66d5a 100644 --- a/util/maintenance.php +++ b/util/maintenance.php @@ -1,18 +1,24 @@ 1) { Config::set('system', 'maintenance', $maint_mode); -if ($maint_mode AND ($argc > 2)) { +if ($maint_mode && ($argc > 2)) { $reason_arr = $argv; array_shift($reason_arr); array_shift($reason_arr);