From f2b323e82ebd7ba78fc78c40d168daf0f7ec05e0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 15 May 2008 02:40:47 -0400 Subject: [PATCH] - fix #1485066 --- 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 a9d1614..913f04f 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -393,13 +393,8 @@ */ 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(); } } - - -- Gitblit v1.9.1