From 93b5cce3da6e49363b52ff542387849573eb346a Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 4 Feb 2001 19:06:00 +0000 Subject: [PATCH] Fix call to read --- addressbook/delete.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addressbook/delete.php b/addressbook/delete.php index c37da0f4bf..3906eba2bb 100755 --- a/addressbook/delete.php +++ b/addressbook/delete.php @@ -32,9 +32,7 @@ if ($confirm != "true") { - $fields = $this->read($ab_id, array("owner" => $owner)); - #$phpgw->db->query("select owner from addressbook where id='$ab_id'"); - #$phpgw->db->next_record(); + $fields = $this->read($ab_id, array("owner" => $owner), array("owner" => $owner)); if ($fielfs["owner"] != $phpgw_info["user"]["account_id"]) { @Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/"));