"use egw_db::select instead of self::search in so_sql::not_unique() as it does NOT set this->data"

This commit is contained in:
Ralf Becker 2008-09-22 16:00:45 +00:00
parent 9d9fc41658
commit a1a3ed0d35

View File

@ -995,7 +995,7 @@ class so_sql
{
$query = array($db_col => $data[$col]);
}
if (list($other) = $this->search($query,false,'','','',false,'AND',false,null,''))
foreach($this->db->select($this->table_name,$this->db_key_cols,$query,__LINE__,__FILE__,false,'',$this->app) as $other)
{
foreach($this->db_key_cols as $db_key_col => $key_col)
{