diff --git a/etemplate/inc/class.so_sql_cf.inc.php b/etemplate/inc/class.so_sql_cf.inc.php index 94a8fa902b..76a3f53908 100644 --- a/etemplate/inc/class.so_sql_cf.inc.php +++ b/etemplate/inc/class.so_sql_cf.inc.php @@ -501,7 +501,7 @@ class so_sql_cf extends so_sql { foreach($only_keys as $key => &$col) { - if(is_numeric($key) && in_array($col, $this->db_cols)) + if(is_numeric($key) && in_array($col, $this->db_cols, true)) { $col = $this->table_name .'.'.array_search($col, $this->db_cols).' AS '.$col; }