]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
Some more wrappers added, code cleanups:
[mailer.git] / inc / modules / admin / what-refbanner.php
index 5d4b6a961af4636d4eca6abae84c6d45322c60b3..4e241a0a70c82abc234d4dc6cb1bc922911ad33d 100644 (file)
@@ -46,9 +46,9 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Some sanity-check
-if ((!isPostRequestParameterSet('url')) || (!isPostRequestParameterSet(('alternate')))) {
+if ((!isPostRequestParameterSet('url')) || (!isPostRequestParameterSet('alternate'))) {
        unsetPostRequestParameter('ok');
-}
+} // END - if
 
 if (isFormSent()) {
        // Fix older calls from add-new-banner-form
@@ -91,7 +91,7 @@ VALUES ('%s','%s','%s')",
                                        ), __FILE__, __LINE__);
                        }
                        break;
-       }
+       } // END - switch
 
        // Check if we have saved (updated)
        if (SQL_AFFECTEDROWS() == 1) {