Bug of new email warning feature in v3.0.5
Hi all,
I see the following code in server/cron_daily.php:
//* Send email to client if($web_config['overtraffic_notify_admin'] == 'y') { $client_group_id = $rec["sys_groupid"]; $client = $app->db->queryOneRecord("SELECT client.email FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id"); if($client['email'] != '') { mail($client['email'], $mailSubject, $traffic_mail_message, $mailHeaders); } }
Should the if statement be changed to if($web_config['overtraffic_notify_client'] == 'y') ?