X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-refbanner.php;h=33a3ff3933000c68ad343dc56bb11cfec0587f61;hp=e9d142bede30f9cda41b8cdd2e2b7eabaf193bae;hb=bc72f913ef9ef26f4103d3deddb4d8be5337a1e5;hpb=ae1de6c19c6ae2b86417005e08257dd1e1b1cab9 diff --git a/inc/modules/admin/what-refbanner.php b/inc/modules/admin/what-refbanner.php index e9d142bede..33a3ff3933 100644 --- a/inc/modules/admin/what-refbanner.php +++ b/inc/modules/admin/what-refbanner.php @@ -51,7 +51,7 @@ if ((!isPostRequestElementSet('url')) || (!isPostRequestElementSet(('alternate') if (isFormSent()) { // Fix older calls from add-new-banner-form - if (!isGetRequestElementSet('mode')) setRequestGetElement('mode', 'add'); + if (!isGetRequestElementSet('mode')) setGetRequestElement('mode', 'add'); $sql = ''; switch (getRequestElement('mode')) { case 'add': @@ -76,12 +76,12 @@ VALUES ('%s','%s','%s')", // Update entry SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refbanner` SET url='%s', alternate='%s', `visible`='%s' WHERE `id`=%s LIMIT 1", - array( - postRequestElement('url', $id), - postRequestElement('alternate', $id), - postRequestElement('visible'), - $id - ), __FILE__, __LINE__); + array( + postRequestElement('url', $id), + postRequestElement('alternate', $id), + postRequestElement('visible'), + $id + ), __FILE__, __LINE__); } break; }