]> git.mxchange.org Git - mailer.git/blobdiff - sponsor_ref.php
Changed important SERVER_URL which now points to the right URL
[mailer.git] / sponsor_ref.php
index 75459c79a924375bb8371891f0ddc86b5fdc29f3..2656eb9c89f97bd047d6ba80e569645bf31d6f9a 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software. You can redistribute it and/or modify *
@@ -53,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 {