diff options
author | alecpl <alec@alec.pl> | 2008-05-15 06:40:47 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-15 06:40:47 +0000 |
commit | f2b323e82ebd7ba78fc78c40d168daf0f7ec05e0 (patch) | |
tree | 892575d3995431cf15d170ff3b542a6c0437e613 /program | |
parent | 48e2cfd98109c5df9c5a7a7c9076ba963481b3f9 (diff) |
- fix #1485066
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_contacts.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index a9d16149e..913f04fd3 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -393,13 +393,8 @@ class rcube_contacts */ function delete_all() { - if (is_array($ids)) - $ids = join(',', $ids); - - $this->db->query("DELETE FROM {$this->db_name} WHERE user_id=?", $this->user_id); + $this->db->query("DELETE FROM {$this->db_name} WHERE user_id=?", $this->user_id); return $this->db->affected_rows(); } } - - |