]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-maintenance.php
Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / inc / modules / admin / what-maintenance.php
index 6ae59ecbd90c6d1d8b0da658ed866face9e3a3f9..adb4692f6472e1d939c4d0bfb91c2b78d568cb88 100644 (file)
@@ -40,7 +40,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // De- or activate maintenance mode
        switch (getConfig('maintenance'))
        {