From: Michael J. Rubinsky Date: Thu, 24 Jun 2010 17:18:59 +0000 (-0400) Subject: fix typo that was preventing new resources from being created X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2622c1a4a04d72d3f09af4e5c40c27b4d16d1958;p=horde.git fix typo that was preventing new resources from being created --- diff --git a/kronolith/lib/Driver/Resource.php b/kronolith/lib/Driver/Resource.php index 47d8013a5..1c985ffbe 100644 --- a/kronolith/lib/Driver/Resource.php +++ b/kronolith/lib/Driver/Resource.php @@ -75,7 +75,14 @@ class Kronolith_Driver_Resource extends Kronolith_Driver_Sql $query = 'INSERT INTO kronolith_resources (resource_id, resource_name, resource_calendar, resource_description, resource_response_type, resource_type, resource_members, resource_email)'; $cols_values = ' VALUES (?, ?, ?, ?, ?, ?, ?, ?)'; $id = $this->_db->nextId('kronolith_resources'); - $values = array($id, $this->convertToDriver($resource->get('name')), $resource->get('calendar'), $this->convertToDriver($resource->get('description')), $resource->get('response_type'), $resource->get('type'), serialize($resource->get('members'), $resource->get('email'))); + $values = array($id, + $this->convertToDriver($resource->get('name')), + $resource->get('calendar'), + $this->convertToDriver($resource->get('description')), + $resource->get('response_type'), + $resource->get('type'), + serialize($resource->get('members')), + $resource->get('email')); $result = $this->_write_db->query($query . $cols_values, $values); $this->handleError($result); $resource->setId($id);