AMP error:
Error with your SQL query. Invalid column name 'true'.

Query:
SELECT * FROM zanimljivosti WHERE zanimljivosti.deleteFake = 0 AND zanimljivosti.arhiva = 0 AND novostChbx = true AND ((publish_from <= 202009250133 OR publish_from IS NULL OR publish_from = 0) AND (publish_to >= 202009250133 OR publish_to IS NULL OR publish_to = 0)) ORDER BY zanimljivosti.rbr ASC;

Class name: ampDB_Active_record, Function: query()
Requested URL: /index.asp