X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=133ab4c8aedffcd4ac0289808d792cbc729d5c80;hp=ee40a2149eaf0829dadf1f4964b5c12b6ec5ff7e;hb=f03cb5d87e69bb2efc885b5c5f5f3026b24c06f6;hpb=e98608bf2a6208376d30996cf9152e1f091ac369 diff --git a/inc/modules/order.php b/inc/modules/order.php index ee40a2149e..133ab4c8ae 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -90,8 +90,8 @@ if (empty($URL)) { $USED = $DATA[7] * GET_PAY_POINTS($DATA[3]); // Update used points - $ADD = ""; - if (getConfig('order_max_full') == "ORDER") $ADD = ", mail_orders=mail_orders+1"; + $add = ""; + if (getConfig('order_max_full') == "ORDER") $add = ", mail_orders=mail_orders+1"; SUB_POINTS("order", getUserId(), $USED); // Prepare content