]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
Some fixes for surfbar extension (#123), double->single, misc cleanups/fixes
[mailer.git] / inc / modules / admin / what-refbanner.php
index 525e427f7d56d1945745ca6fe034f0eb78c2d927..cbeb3d53d4e3f1604af3895a5d8c672fa8089faa 100644 (file)
@@ -49,16 +49,16 @@ ADD_DESCR('admin', __FILE__);
 $SEL = 0;
 
 // Some sanity-check
-if ((!REQUEST_ISSET_POST(('url'))) || (!REQUEST_ISSET_POST(('alternate')))) {
+if ((!REQUEST_ISSET_POST('url')) || (!REQUEST_ISSET_POST(('alternate')))) {
        REQUEST_UNSET_POST('ok');
 }
 
 // Check selection count
 if (REQUEST_ISSET_POST('sel')) $SEL = countPostSelection();
 
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        // Fix older calls from add-new-banner-form
-       if (!REQUEST_ISSET_GET(('mode'))) REQUEST_SET_GET('mode', 'add');
+       if (!REQUEST_ISSET_GET('mode')) REQUEST_SET_GET('mode', 'add');
        $sql = '';
        switch (REQUEST_GET('mode'))
        {