X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=util%2Fmaintenance.php;h=9c9fc4f19d95404569c10e751fa6173f31a6f257;hb=4ada71081f5c99bd0807b879226256d91f2fda61;hp=614344ab9387bbcafb99ee98c7fe2e5b6c9e23ca;hpb=8a0b057dc7dbf26ac78393f06a4413bf0512471d;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);