X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Fmaintenance.php;h=9c9fc4f19d95404569c10e751fa6173f31a6f257;hb=06815f1a38409e45b0c5e5184c081f964ec89e47;hp=614344ab9387bbcafb99ee98c7fe2e5b6c9e23ca;hpb=be9db7f0604f77396c2c4ff0489b20036abf177c;p=friendica.git diff --git a/util/maintenance.php b/util/maintenance.php index 614344ab93..9c9fc4f19d 100644 --- a/util/maintenance.php +++ b/util/maintenance.php @@ -1,10 +1,11 @@ 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);