]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-book_surfbar.php
Fixed bad naming of variable
[mailer.git] / inc / modules / member / what-book_surfbar.php
index 7b65d6d7fe5fde79d0e20dba645d4d70c3d8113b..94d3194aa13b7f859534f92f741ee279bd0b8803 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * 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 *
@@ -69,7 +69,7 @@ if (!ifSurfbarMemberAllowedMoreUrls()) {
        $insertId = doSurfbarMemberAddUrl(postRequestElement('url'), postRequestElement('limit'));
 
        // Was this fine?
-       if ($insertId > 0) {
+       if (isValidId($insertId)) {
                // URL added and waiting for unlock
                $message = '{--MEMBER_SURFBAR_URL_ADDED--}';
        } // END - if