Błąd bazy danych
ERROR: invalid input syntax for type integer: "" LINE 1: select * from foto where id = '' order by glowny DESC, stara... ^