X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-sub_points.php;h=e16508200fc34bdcaa0a91897acb0c9fcf2a33f5;hb=4208fbe9ca328edf4020476d2a6d8eb14b99dfcb;hp=d962bc943c2cb7d108408d5b20aba45b6663877a;hpb=7eb9da85bfb337997a58a244cb610c97a8d10c13;p=mailer.git diff --git a/inc/modules/admin/what-sub_points.php b/inc/modules/admin/what-sub_points.php index d962bc943c..e16508200f 100644 --- a/inc/modules/admin/what-sub_points.php +++ b/inc/modules/admin/what-sub_points.php @@ -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( @@ -123,7 +123,7 @@ if ($_GET['u_id'] == "all") { // Opps, missing form here define('__USER_VALUE', "".$sname." ".$fname.""); - define('__UID_VALUE', $_GET['u_id']); + define('__UID', bigintval($_GET['u_id'])); LOAD_TEMPLATE("admin_sub_points"); } }