When we try to export leads from our installation of SugarCRM CE [url removed, login to view] we receive the following error message: "Database failure. Please refer to [url removed, login to view] for details."
We'll need for you to fix this bug and document what was done to resolve the problem.
Full [url removed, login to view] attached
MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' LTRIM(RTRIM(CONCAT(IFNULL(relJoin5.first_name,''),' ',IFNULL(relJoin5.last_name' at line 3