Fix query for new fields - this part needs to be reworked

This commit is contained in:
Miles Lott 2001-02-04 09:10:24 +00:00
parent 4d705f504e
commit 225d78c33d

View File

@ -31,7 +31,7 @@
if ($confirm != "true") {
$phpgw->db->query("select ab_owner from addressbook where ab_id='$ab_id'");
$phpgw->db->query("select owner from addressbook where id='$ab_id'");
$phpgw->db->next_record();
if ($phpgw->db->f("ab_owner") != $phpgw_info["user"]["account_id"]) {