db is a property of _groupOb
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 9 Jan 2011 20:17:06 +0000 (15:17 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 9 Jan 2011 20:17:06 +0000 (15:17 -0500)
framework/Group/lib/Horde/Group/SqlObject.php

index 95308b3..1933797 100644 (file)
@@ -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);
                 }