More calls of DEBUG_LOG() added
[mailer.git] / inc / modules / member / what-wernis.php
index f38498b40bfc94c92d6069b30d64f21e606c66a0..eba573efd6aa7a8d4fccf870bf7d65f515e53992 100644 (file)
@@ -290,11 +290,12 @@ if ((isset($_POST['ok'])) && (isset($_GET['mode']))) {
                                break;
 
                        default: // Invalid mode!
+                               DEBUG_LOG(__FILE__, __LINE__, sprintf("Invalid mode %s detected.", $_GET['mode']));
                                LOAD_TEMPLATE("admin_settings_saved", false, sprintf(WERNIS_MEMBER_MODE_INVALID, SQL_ESCAPE($_GET['mode'])));
                                return;
                }
        }
-}
+} // END - if
 
 // Prepare mode for template name
 $mode = sprintf("member_wernis_mode_%s", SQL_ESCAPE($_GET['mode']));