forked from extern/egroupware
* Addressbook/PostgreSQL: fix SQL error deleting a contact finally
This commit is contained in:
parent
8c6fea66ca
commit
73301e9276
@ -1165,7 +1165,7 @@ class Sql extends Api\Storage
|
|||||||
}
|
}
|
||||||
elseif (!isset($keys['contact_id']))
|
elseif (!isset($keys['contact_id']))
|
||||||
{
|
{
|
||||||
$query = parent::delete($keys,true);
|
$query = ['contact_id' => parent::delete($keys,true)];
|
||||||
}
|
}
|
||||||
$this->db->delete(self::SHARED_TABLE, $query ?? $keys, __LINE__, __FILE__);
|
$this->db->delete(self::SHARED_TABLE, $query ?? $keys, __LINE__, __FILE__);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user