X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fjs%2Fjs-surfbar_member_edit.php;h=6fcdc9802119a50501600cd3fc1a96d876645e5c;hp=4af95a7b61e873c45fc8f420f8a2b58801c1d518;hb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;hpb=2379934be6a196a54f4155bb8e24c49b20736969 diff --git a/inc/js/js-surfbar_member_edit.php b/inc/js/js-surfbar_member_edit.php index 4af95a7b61..6fcdc98021 100644 --- a/inc/js/js-surfbar_member_edit.php +++ b/inc/js/js-surfbar_member_edit.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * 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 * @@ -38,18 +38,18 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif (!isExtensionActive('surfbar')) { +} elseif ((!isExtensionActive('surfbar')) || (!isGetRequestElementSet('url_views_max')) || (!isGetRequestElementSet('limited'))) { return; } // Prepare content $content = array( - 'views_max' => bigintval(getRequestElement('views_max')), - 'limited' => bigintval(getRequestElement('limited')) + 'url_views_max' => getRequestElement('url_views_max'), + 'limited' => getRequestElement('limited') ); // Simply load the JavaScript here -loadTemplate('js_surfbar_member_edit', false, $content); +loadTemplate('js_surfbar_member_edit', FALSE, $content); // [EOF] ?>