X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=93f5e2a005529f9563dbdca98bad1c009c9a6bb5;hb=0df7a4b94f5fc5fcd582546d2d5e829a91067d0c;hp=289e50cd2f505d9226888df3dde829ee9635d7c0;hpb=a14d4b587ae7cf3b6793cf33537d17db4541acc0;p=mailer.git diff --git a/inc/modules/order.php b/inc/modules/order.php index 289e50cd2f..93f5e2a005 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -58,7 +58,7 @@ if (empty($url)) { $type = 'ADMIN'; // Is the auto-send mechanism active or inactive? - if (getConfig('autosend_active') == 'Y') { + if (isAutosendMemberMailsEnabled()) { // Auto-send is active $content['admin_autosend'] = '{--ADMIN_AUTOSEND_ACTIVE--}'; $content['member_autosend'] = '{--MEMBER_AUTOSEND_ACTIVE--}'; @@ -84,7 +84,7 @@ if (empty($url)) { // Update used points $add = ''; - if ((isExtensionInstalledAndNewer('order', '0.1.1')) && (getConfig('order_max_full') == 'ORDER')) { + if ((isExtensionInstalledAndNewer('order', '0.1.1')) && (getOrderMaxFull() == 'ORDER')) { $add = ',`mail_orders`=`mail_orders`+1'; } // END - if