Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git] / inc / modules / guest / what-confirm.php
index 262629303cb8f4149a1868ee209a9f05fc9fe4c4..1eba1b02c7deb1b5694d35185f6190a387046253 100644 (file)
@@ -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