mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
* Addressbook/PostgreSQL: fix SQL error deleting a contact finally
This commit is contained in:
parent
c830bdd923
commit
e500190728
@ -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