Fix for order module
authorRoland Häder <roland@mxchange.org>
Tue, 9 Sep 2008 00:38:03 +0000 (00:38 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 9 Sep 2008 00:38:03 +0000 (00:38 +0000)
inc/modules/order.php

index e617ab9b6c972e485765230024ea30cf520f17dd..01f89fabcf6f78d499081c5d6b4fed11070d501f 100644 (file)
@@ -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") {