]> git.mxchange.org Git - mailer.git/blobdiff - sponsor_ref.php
Yet another wrong array element fixed... :-(
[mailer.git] / sponsor_ref.php
index c90d38ca272da6c7524a3b19ade88086f7de5e5a..1171583ceeb252ce7319ea47ae949c04d9060e6e 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -55,7 +53,7 @@ setContentType('text/html');
 $URL = 'modules.php?module=index&what=sponsor_reg&refid=';
 
 // Do we have a referal id?
-if (!empty($GLOBALS['refid'])) {
+if (isValidUserId($GLOBALS['refid'])) {
        // We have an refid here. So we simply add it
        $URL .= $GLOBALS['refid'];
 } else {