DB Error: syntax error

select kod, wartosc as wartosc, nazwa, id, dokument_id, rodzaj, parametry, tpl_value_id from antv_szczegoly_dokumentu where (strona =1 or strona is null) and pole_w_liscie='t' and (dokument_id in (,,,,,,,,0) or dokument_id is null) [nativecode=ERROR: syntax error at or near "," LINE 16: and (dokument_id in (,,,,,,,,0) or dokument_id is ... ^] (Szablon->PokazListeDokumentow)