X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-book_surfbar.php;h=63ee0ceda2831d467fa0216824ae88065a316d85;hp=ff0f6c78ac59b9d4721837eb6ca74a193db0bd8d;hb=2379934be6a196a54f4155bb8e24c49b20736969;hpb=b60d6755eb34f6a302b30eeb363ed0853e8d987d diff --git a/inc/modules/member/what-book_surfbar.php b/inc/modules/member/what-book_surfbar.php index ff0f6c78ac..63ee0ceda2 100644 --- a/inc/modules/member/what-book_surfbar.php +++ b/inc/modules/member/what-book_surfbar.php @@ -55,18 +55,18 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) { if (!SURFBAR_IF_USER_BOOK_MORE_URLS()) { // No more URLs allowed to book! displayMessage('{--MEMBER_SURFBAR_NO_MORE_ALLOWED--}'); -} elseif ((isFormSent()) && (isPostRequestParameterSet('limited'))) { +} elseif ((isFormSent()) && (isPostRequestElementSet('limited'))) { // Is limitation "no" and "limit" is > 0? - if (postRequestParameter('limited') == 'N') { + if (postRequestElement('limited') == 'N') { // Set it to unlimited - setPostRequestParameter('limit', 0); + setPostRequestElement('limit', 0); } // END - if // By default something went wrong $message = '{--MEMBER_SURFBAR_URL_NOT_ADDED--}'; // Register the new URL - $insertId = SURFBAR_MEMBER_ADD_URL(postRequestParameter('url'), postRequestParameter('limit')); + $insertId = SURFBAR_MEMBER_ADD_URL(postRequestElement('url'), postRequestElement('limit')); // Was this fine? if ($insertId > 0) {