DB Query error : 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 '' at line 13
SELECT m.id, s.site, CONCAT(m.sei,IFNULL(m.mei,'')) AS name, b.name AS branch, b.tel, s.comment FROM staff AS s LEFT JOIN m_staff AS m ON s.staff=m.id LEFT JOIN m_branch AS b ON m.branch=b.id WHERE s.id= ;
/web/sites/common/api/detail.php (Line: 156)