* Addressbook/PostgreSQL: fix SQL error deleting a contact finally

This commit is contained in:
Ralf Becker 2021-09-01 09:33:54 +02:00
parent c830bdd923
commit e500190728

View File

@ -1165,7 +1165,7 @@ class Sql extends Api\Storage
}
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__);
}