MySQL klaida

[Detali informacija išsiųsta sistemos administratoriui support@dlsb2b.com]


[Kodas:] 1064
[Pranešimas:] 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 'OR sm_pgid IS NULL) AND sm_doid=1 ORDER BY sm_prt DESC' at line 1
[SQL:]
SELECT mo_script,sm_active,sm_prt,sm_replace,sm_meta,sm_id,sm_temp,mo_pav 
FROM static_modules,modules 
WHERE mo_id=sm_moid AND (sm_pgid= OR sm_pgid IS NULL) AND sm_doid=1 
ORDER BY sm_prt DESC
[Stekas:]
function db->__e():db.lib.php(431)
function db->query("SELECT mo_script,sm_active,sm_.."):index.php(569)
[Failas:] floristika.lt/floristikos-prekes/visa_zaluma/dirbtinis_papar...