mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix call to read
This commit is contained in:
parent
000fd660ad
commit
93b5cce3da
@ -32,9 +32,7 @@
|
|||||||
|
|
||||||
|
|
||||||
if ($confirm != "true") {
|
if ($confirm != "true") {
|
||||||
$fields = $this->read($ab_id, array("owner" => $owner));
|
$fields = $this->read($ab_id, array("owner" => $owner), array("owner" => $owner));
|
||||||
#$phpgw->db->query("select owner from addressbook where id='$ab_id'");
|
|
||||||
#$phpgw->db->next_record();
|
|
||||||
|
|
||||||
if ($fielfs["owner"] != $phpgw_info["user"]["account_id"]) {
|
if ($fielfs["owner"] != $phpgw_info["user"]["account_id"]) {
|
||||||
@Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/"));
|
@Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/"));
|
||||||
|
Loading…
Reference in New Issue
Block a user