From a8fa4383e548f8916348349d6776aa3ce00478e9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 28 Aug 2009 07:14:39 +0000 Subject: [PATCH] "fixed typo" --- etemplate/inc/class.so_sql_cf.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.so_sql_cf.inc.php b/etemplate/inc/class.so_sql_cf.inc.php index 09fbf5b55c..4b19fc6604 100644 --- a/etemplate/inc/class.so_sql_cf.inc.php +++ b/etemplate/inc/class.so_sql_cf.inc.php @@ -318,7 +318,7 @@ class so_sql_cf extends so_sql */ function delete($keys=null,$only_return_ids=false) { - if ($this->customfields || $only_return_query) + if ($this->customfields || $only_return_ids) { $query = parent::delete($keys,true); // check if query contains more then the id's @@ -334,7 +334,7 @@ class so_sql_cf extends so_sql { $ids = $query[$this->autoinc_id]; } - if ($only_return_query) return $ids; + if ($only_return_ids) return $ids; $this->db->delete($this->extra_table,array($this->extra_id => $ids),__LINE__,__FILE__); } return parent::delete($keys);