]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-confirm.php
Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git] / inc / modules / guest / what-confirm.php
index 582416028a881c65e8544d657cbadb419b76611f..1eba1b02c7deb1b5694d35185f6190a387046253 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 if (!empty($_GET['hash'])) {
        // Initialize the user ID
@@ -92,7 +92,7 @@ if (!empty($_GET['hash'])) {
                                        } // END - if
 
                                        // Add one-time referal bonus over referal system or directly
-                                       $DEPTH = 0;
+                                       unset($DEPTH);
                                        ADD_POINTS_REFSYSTEM($rid, $_CONFIG['points_ref'], true, bigintval($uid), $locked, $_CONFIG['reg_points_mode']);
                                } // END - if
                        } // END - if