Fix call to read

This commit is contained in:
Miles Lott 2001-02-04 19:06:00 +00:00
parent 000fd660ad
commit 93b5cce3da

View File

@ -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/"));