X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=01f89fabcf6f78d499081c5d6b4fed11070d501f;hb=abcc2162dc91e05f9f685715c61ee41053de03e8;hp=e617ab9b6c972e485765230024ea30cf520f17dd;hpb=a1ef1533f17e1ca5db81a9912632491e72626694;p=mailer.git diff --git a/inc/modules/order.php b/inc/modules/order.php index e617ab9b6c..01f89fabcf 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -90,7 +90,7 @@ if (empty($URL)) { // Update used points $ADD = ""; if ($_CONFIG['order_max_full'] == "ORDER") $ADD = ", mail_orders=mail_orders+1"; - SUB_POINTS($GLOBALS['userid']), $USED); + SUB_POINTS($GLOBALS['userid'], $USED); // Update mediadata as well if (GET_EXT_VERSION("mediadata") >= "0.0.4") {