From f7e92dd6b0a8149ce0f56fd5190a84ff8d35dde3 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 9 Jan 2011 15:17:06 -0500 Subject: [PATCH] db is a property of _groupOb --- framework/Group/lib/Horde/Group/SqlObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Group/lib/Horde/Group/SqlObject.php b/framework/Group/lib/Horde/Group/SqlObject.php index 95308b3ac..19337977f 100644 --- a/framework/Group/lib/Horde/Group/SqlObject.php +++ b/framework/Group/lib/Horde/Group/SqlObject.php @@ -122,7 +122,7 @@ class Horde_Group_SqlObject extends Horde_Group_DataTreeObject ' VALUES (?, ?)'; foreach ($this->data['users'] as $user) { try { - $this->db->insert($query, array(intval($this->id), $user)); + $this->_groupOb->db->insert($query, array(intval($this->id), $user)); } catch (Horde_Db_Exception $e) { throw new Horde_Group_Exception($e); } -- 2.11.0