Error occured: | SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 5 SQL: select if(i.file is null or trim(i.file)='', 'img/pagetop.gif', concat('images/', if(s.directory is null or trim(s.directory)='', '', concat(s.directory, '/')), i.file))
from composition as c
left join images as i on (i.id=c.bg)
left join imgsections as s on (s.id=i.section)
where c.id= | |