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 e617ab9..01f89fa 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") {