diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-15 06:40:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-15 06:40:47 +0000 |
| commit | 6d1b353d8c71e26b5a96f779a5e07ae285c587a7 (patch) | |
| tree | b2e666e40f87055d98777a57f7a7c3377925ff82 /roundcubemail/program/include | |
| parent | 00b328f1db96328010c1b646fe7a1718c6acb054 (diff) | |
- fix #1485066
git-svn-id: https://svn.roundcube.net/trunk@1387 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_contacts.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php index a9d16149e..913f04fd3 100644 --- a/roundcubemail/program/include/rcube_contacts.php +++ b/roundcubemail/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(); } } - - |
