X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Fmaintenance.php;h=a697e66d5ae4b76ca72210c511ae1c2332d06fba;hb=411a4004723b7822ad9484a57b5dcc4880449ef3;hp=614344ab9387bbcafb99ee98c7fe2e5b6c9e23ca;hpb=09851331a9dc8601919cd0c9200686b92843d235;p=friendica.git diff --git a/util/maintenance.php b/util/maintenance.php index 614344ab93..a697e66d5a 100644 --- a/util/maintenance.php +++ b/util/maintenance.php @@ -1,17 +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);