Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / member / what-surfbar_book.php
index 5b2515bf2ac16ad626db14a24a42830f32a31c60..794e1d6b255d5d28edc0192681901224a25c373b 100644 (file)
@@ -55,7 +55,7 @@ ADD_DESCR('member', __FILE__);
 if (!SURFBAR_IF_USER_BOOK_MORE_URLS()) {
        // No more URLs allowed to book!
        LOAD_TEMPLATE('admin_settings_saved', false, getMessage('MEMBER_SURFBAR_NO_MORE_ALLOWED'));
-} elseif ((IS_FORM_SENT()) && (REQUEST_ISSET_POST(('limited')))) {
+} elseif ((isFormSent()) && (REQUEST_ISSET_POST(('limited')))) {
        // Is limitation "no" and "limit" is > 0?
        if ((REQUEST_POST('limited') == 'N') && ((REQUEST_ISSET_POST(('limit'))) && (REQUEST_POST('limit') > 0)) || (!REQUEST_ISSET_POST(('limit')))) {
                // Set it to unlimited