]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-reflinks.php
Fix for SQL
[mailer.git] / inc / modules / member / what-reflinks.php
index 0da2327b03e2a40b16f0a4a5439e3771d2c71f25..51cd39a8b7969c1a73434d11beb80072eefa1a86 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : what-reflinks.php                                *
  * -------------------------------------------------------------------- *
- * Short description : Referal links                                    *
+ * Short description : Referral links                                   *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Referal-Links                                    *
+ * Kurzbeschreibung  : Referral-Links                                   *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -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 - 2012 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 *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 }
@@ -110,7 +110,7 @@ if (!SQL_HASZERONUMS($result)) {
        $content['refbanner_content'] = loadTemplate('member_list_reflinks', true, $OUT);
 } else {
        // No refbanner found
-       $content['refbanner_content'] = displayMessage('{--MEMBER_REFERAL_BANNER_404--}', true);
+       $content['refbanner_content'] = displayMessage('{--MEMBER_REFERRAL_BANNER_404--}', true);
 }
 
 // Free result