[Tickets #4417] RESOLVED: values are not passed through _turba_hook_encode_...

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Sep 14 10:04:49 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4417
-----------------------------------------------------------------------
 Ticket             | 4417
 Updated By         | tinu at humbapa.ch
 Summary            | values are not passed through _turba_hook_encode_...
 Queue              | Turba
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Resolved
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


tinu at humbapa.ch (2006-09-14 10:04) wrote:

The values are also not passed through the hooks when adding a new entry
(add.php).

I tried to replace (add.php, line 97):
$object = $info['object'];
with:
foreach ($info['object'] as $info_key => $info_val) {
    $object->setValue($info_key, $info_val);
}
and $driver->add($object) with $object->store()
when I submit the form the site changes to browse.php but the new entry is
missing.

thanks!
tinu




More information about the bugs mailing list