[dev] [patch] Undefined variable in getObjectById() method of
DataTree.php
Derek P. Moore
derekm at hackunix.org
Tue Apr 6 00:13:16 PDT 2004
The variable $object was being used undefined on line 288 of DataTree.php. This
patch puts the name of the DataTree object being looked up into $name and uses
$name two times later in the function [I thought this would be less expensive
than calling $this->getName($id) twice, which is what getObjectById() would
have to do without $name].
Thanks much, folks,
Derek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataTree.php.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040406/8882529e/DataTree.php.bin
More information about the dev
mailing list