]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-sub_points.php
Cache class rewritten to better convention
[mailer.git] / inc / modules / admin / what-sub_points.php
index 26731b6a5e39999e2237881ab1466618db0119c6..e16508200fc34bdcaa0a91897acb0c9fcf2a33f5 100644 (file)
@@ -64,7 +64,7 @@ if ($_GET['u_id'] == "all")
                                if ((isset($_POST['ok'])) && (!empty($_POST['points'])))
                                {
                                        // Ok, add points to used points and send an email to him...
-                                       SUB_POINTS($uid, $_POST['points']);
+                                       SUB_POINTS("admin_all", $uid, $_POST['points']);
 
                                        // Prepare content
                                        $content = array(
@@ -104,7 +104,7 @@ if ($_GET['u_id'] == "all")
                if ((isset($_POST['ok'])) && (!empty($_POST['points'])))
                {
                        // Ok, add to used points and send an email to him...
-                       SUB_POINTS(bigintval($_GET['u_id']), $_POST['points']);
+                       SUB_POINTS("admin_single", bigintval($_GET['u_id']), $_POST['points']);
 
                        // Prepare content
                        $content = array(