Error SELECT * FROM art_article WHERE id=temp AND 1=1 ORDER BY date DESC ; in origSelectSQL(art_article)!

Ошибка базы данных:Unknown column 'temp' in 'where clause'