"fix for bug #1805: SQL error when searching mail addresses from fmail

Integer column etag was search with ILIKE '%@%' which is not allowed in Postgres, as theres no ILIKE operator for Integer"
This commit is contained in:
Ralf Becker 2008-11-12 17:53:58 +00:00
parent 322467fb36
commit f2b50bdf8b

View File

@ -128,7 +128,7 @@ class addressbook_so
* In SQL we can search all columns, though a view make on real sense * In SQL we can search all columns, though a view make on real sense
*/ */
var $sql_cols_not_to_search = array( var $sql_cols_not_to_search = array(
'jpegphoto','owner','tid','private','id','cat_id', 'jpegphoto','owner','tid','private','id','cat_id','etag',
'modified','modifier','creator','created','tz','account_id', 'modified','modifier','creator','created','tz','account_id',
); );
/** /**