X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=4b7259f2e1f2e28d548e1b71f41dd8effb51d9cf;hp=5d17312571599d36561bb3fe7cd7e613634df62e;hb=d999908fdb7fdf8884356331e2ffe044cfff273d;hpb=dbd1bc95c8f89024118791dc3fb3633a90afa9cf diff --git a/inc/modules/order.php b/inc/modules/order.php index 5d17312571..4b7259f2e1 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -58,7 +58,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) if (empty($URL)) { // Is the auto-send mechanism active or inactive? - if ($CONFIG['autosend_active'] == 'Y') + if ($_CONFIG['autosend_active'] == 'Y') { // Auto-send is active define('ADMIN_AUTOSEND', COMPILE_CODE(ADMIN_AUTOSEND_ACTIVE)); @@ -101,7 +101,7 @@ if (empty($URL)) // Update used points $ADD = ""; - if ($CONFIG['order_max'] == "ORDER") $ADD = ", mail_orders=mail_orders+1"; + if ($_CONFIG['order_max'] == "ORDER") $ADD = ", mail_orders=mail_orders+1"; $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET used_points=used_points+%s".$ADD." WHERE userid=%d LIMIT 1", array($USED, $GLOBALS['userid']), __FILE__, __LINE__);