mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix call to read
This commit is contained in:
parent
000fd660ad
commit
93b5cce3da
@ -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/"));
|
||||
|
Loading…
Reference in New Issue
Block a user