SQL ERROR [ mysql4 ]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 ')
ORDER BY pic_id ASC LIMIT 1' at line 2 [1064]
SQLSELECT pic_id FROM ip_album
WHERE pic_cat_id IN ()
ORDER BY pic_id ASC LIMIT 1
BACKTRACE
FILE: includes/db/mysql.php
LINE: 295
CALL: sql_db->sql_error()
FILE: sitemap.php
LINE: 283
CALL: sql_db->sql_query()