query failed!
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 'AND user_hidden = 0 AND lang = '' ORDER BY ord ASC, page_id ASC' at line 1
SELECT page_id, break, name FROM lieto_pages WHERE page_sub_id = AND user_hidden = 0 AND lang = '' ORDER BY ord ASC, page_id ASC