Thanks! I have fixed this.
Regards,
/bryan
Nicolas Clemeur wrote:
Hello all,
I encounter a small bug when using auto-creation of issue by email coupled
with customer integration. The problem only happen if everybody is
authorised create a issue ("Only for Known Customers" option is set to No).
In this case, when an email is sent by a member of the staff, there is a
problem in Issue::createFromEmail where Customer::getAccountManagers is
called with an empty customer_id. This result in an invalid sql statment.
A way to correct this problem would be to replace the call to
Customer::getAccountManagers (around line 1587 in class.issue.php) by the
following code
if(!empty($customer_id))
$managers = Customer::getAccountManagers($prj_id, $customer_id);
else
$managers = array();
Cheers
Are you MySQL certified? www.mysql.com/certification