mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
"fixed typo"
This commit is contained in:
parent
a52fa4d5fc
commit
a8fa4383e5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user