[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:20:15 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:20) wrote:
Actually, make that:
if ($userinfo) {
if (is_array($userinfo) &&
!array_walk($userinfo,
create_function('$a,$b,$c', 'return
is_a($a,$c);'),
'PEAR_Error')) {
$userinfo = @implode(', ', $userinfo);
}
$ob->_message = $ob->getMessage() . ' : ' . $userinfo;
}
so that the array_walk() comes after the is_array().
More information about the bugs
mailing list