X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=0b3a5a4f7df1c6d9eb930abb1b00857acc1146f5;hb=39172de4ecec2f6ddc597a5ae439e7aef79c75ed;hp=3b98a3e872579adcd05985e703c7e5ed2571db08;hpb=6c763653e88b9d10627e651ca59c7201d4b7d62b;p=mailer.git diff --git a/inc/modules/order.php b/inc/modules/order.php index 3b98a3e872..0b3a5a4f7d 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -50,7 +50,7 @@ if (!defined('__SECURITY')) { // When URL is empty nothing bad happend here if (empty($URL)) { // Is the auto-send mechanism active or inactive? - if ($_CONFIG['autosend_active'] == "Y") { + if (getConfig('autosend_active') == "Y") { // Auto-send is active define('ADMIN_AUTOSEND', COMPILE_CODE(ADMIN_AUTOSEND_ACTIVE)); define('MEMBER_AUTOSEND', COMPILE_CODE(MEMBER_AUTOSEND_ACTIVE)); @@ -86,12 +86,12 @@ if (empty($URL)) { // Update used points $ADD = ""; - if ($_CONFIG['order_max_full'] == "ORDER") $ADD = ", mail_orders=mail_orders+1"; + if (getConfig('order_max_full') == "ORDER") $ADD = ", mail_orders=mail_orders+1"; SUB_POINTS("order", $GLOBALS['userid'], $USED); // Prepare content $content = array( - 'blocks' => $_CONFIG['max_send'], + 'blocks' => getConfig('max_send'), 'subject' => $DATA[0], 'text' => $DATA[1], 'payment' => GET_PAYMENT($DATA[3]),