[Tickets #4744] Re: php dying on IMP::status() call on line 56 of templates/compose/compose.inc

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Dec 7 12:16:31 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4744
-----------------------------------------------------------------------
 Ticket             | 4744
 Updated By         | cbs at cts.ucla.edu
 Summary            | php dying on IMP::status() call on line 56 of
                    | templates/compose/compose.inc
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Resolved
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


cbs at cts.ucla.edu (2006-12-07 12:16) wrote:

> This was a bug, of sorts, in the Horde Notification package. I've 
> fixed it in HEAD and FW_3; it'll be in the next stable Horde release.

If the commit to Listener.php (line 102) was the only commit related to
this, it doesn't fix it.  $userinfo is an array of 1 PEAR_Error, so the
is_a() fails.  This works for me, so far:

            if ($userinfo &&
                !array_walk($userinfo, 
                            create_function('$a,$b,$c', 'return
is_a($a,$c);'),
                            'PEAR_Error')) {





More information about the bugs mailing list