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));
// 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__);