]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-wernis.php
Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git] / inc / modules / member / what-wernis.php
index b98befee083176f47befd82fe5314712e89525aa..4d47daabe5555dc4ea1872bee940ed362eceaaef 100644 (file)
@@ -232,7 +232,7 @@ if ((isset($_POST['ok'])) && (isset($_GET['mode']))) {
                                        $success = WERNIS_EXECUTE_WITHDRAW($_POST['wds66_id'], md5($_POST['wds66_password']), $_POST['amount']);
                                        if ($success) {
                                                // Add it to this amount
-                                               $DEPTH = 0;
+                                               unset($DEPTH);
                                                ADD_POINTS_REFSYSTEM($GLOBALS['userid'], bigintval($_POST['amount']), false, 0, false, "direct");
 
                                                // Update the user data as well..