[Tickets #7976] Re: hook_msglist_format Fatal error: Cannot use object of type PEAR_Error as array

bugs at horde.org bugs at horde.org
Thu Feb 12 16:16:24 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/7976
------------------------------------------------------------------------------
  Ticket             | 7976
  Updated By         | dom.lalot at gmail.com
  Summary            | hook_msglist_format Fatal error: Cannot use object of
                     | type PEAR_Error as array
  Queue              | IMP
  Version            | 4.3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | Nouveau Document texte.txt
------------------------------------------------------------------------------


dom.lalot at gmail.com (2009-02-12 11:16) wrote:

I used the diff in the wrong side. Here is the patch again!


> I activated under dimp the predefined hook:
>
>  if (!function_exists('_dimp_hook_msglist_format')) {
>      function _dimp_hook_msglist_format($mailbox, $uid)
>      {
> And in dimp works like a charm. But switching to imp I got:
> Fatal error: Cannot use object of type PEAR_Error as array in
> /var/www/perso/horde-webmail-1.2.1/imp/mailbox.php on line 786
>
> So I patched mailbox.php no to use the object if pear_error, but
> there is may be other things to do.. Anyway it works
>
> Dom
>







More information about the bugs mailing list