[imp] bug: undefined call to function "call_user_function"

Michael Cochrane mike@graftonhall.co.nz
Thu, 20 Jun 2002 10:37:52 +0100


This will fix your problem: and needs to be committed to HEAD.

- Mike :-)


Index: imp/lib/Message.php
===================================================================
RCS file: /httpd/horde/imp/lib/Message.php,v
retrieving revision 1.64
diff -I$Horde -I$Revision -I$Date -r1.64 Message.php
771c771
<                 if (!call_user_function($function, $imp['stream'], $msg_list,
$flag, ST_UID)) {
---
>                 if (!call_user_func($function, $imp['stream'], $msg_list,
$flag, ST_UID)) {
778c778
<             if (!call_user_function($function, $imp['stream'], $msg_list,
$flag, ST_UID)) {
---
>             if (!call_user_func($function, $imp['stream'], $msg_list, $flag,
ST_UID)) {


Quoting Ahmed <ashihab@alcahest.com>:

> All,
> 
> I've just updated to latest CVS (20.06) and have come across the following
> problem:
> 
> when attempting to set a flag (eg. unseen) on a message the browser gives me
> a blank screen and the following message is reported by syslog:
> 
>  httpd: PHP Fatal error:  Call to undefined function:  call_user_function()
> in /var/www/horde/imp/lib/Message.php on line 778
> 
> I could not find this function anywhere in the php code for horde. 
> 
> Any ideas?
> 
> Ahmed...




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/