]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
Lesser use of double-quotes
[mailer.git] / inc / modules / admin / what-refbanner.php
index 8f23c36e460b6a00f25b6cad2305a5db50b25c00..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) {
@@ -115,7 +115,7 @@ VALUES ('%s','%s','%s')",
                SQL_FREERESULT($result);
 
                // Preapre data for the row
-               $content['visible'] => addSelectionBox('yn', $content['visible'], 'visible');
+               $content['visible'] = addSelectionBox('yn', $content['visible'], 'visible');
 
                // Load row template and switch color
                $OUT .= loadTemplate('admin_refbanner_edit_row', true, $content);