Notice: Undefined index: search in /var/www/html/strategic/api/dashboard/ittgsu.query.php on line 4

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select ittgsu.s_ittgsu , ittgsu.s_ittarget , ittgsu.s_sunit , ittgsu.value , sunit.name as sunitname from ittgsu , sunit where ittgsu.s_sunit = sunit.s_sunit AND s_ittarget = ] -> 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 11' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/dashboard/ittgsu.query.php(20): DbMySql->queryRecords('select \r\n it...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30