[dev] [patch] Undefined variable in getObjectById() method of
DataTree.php
Chuck Hagenbuch
chuck at horde.org
Tue Apr 6 07:54:40 PDT 2004
Quoting "Derek P. Moore" <derekm at hackunix.org>:
> 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].
Committed, thanks!
-chuck
--
"Regard my poor demoralized mule!" - Juan Valdez
More information about the dev
mailing list