X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-book_surfbar.php;h=24cc1cee032b8c3bc5e12bfc37a052bc8bb8e454;hb=8202991f32bfb2056e94a11746c0b5308fe4a273;hp=ff0f6c78ac59b9d4721837eb6ca74a193db0bd8d;hpb=72cb68548833c40082bdd917824ce4cacc57d10d;p=mailer.git diff --git a/inc/modules/member/what-book_surfbar.php b/inc/modules/member/what-book_surfbar.php index ff0f6c78ac..24cc1cee03 100644 --- a/inc/modules/member/what-book_surfbar.php +++ b/inc/modules/member/what-book_surfbar.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -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) {