mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
remove undefined variable _SERVER[REQUEST_METHOD] when running from the cli
This commit is contained in:
parent
772a882c74
commit
3593d23c6f
@ -414,7 +414,10 @@ else
|
||||
|
||||
<?php
|
||||
|
||||
} elseif ($_SERVER['REQUEST_METHOD'] == "GET" || $error != 0 || $lostpw_error == 0) {
|
||||
} elseif (
|
||||
(isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == "GET") ||
|
||||
$error != 0 ||
|
||||
$lostpw_error == 0 ) {
|
||||
?>
|
||||
|
||||
<div class="standout"><?php print $setupMessage; ?></div>
|
||||
|
Loading…
Reference in New Issue
Block a user