From: X! Date: Mon, 3 Jan 2011 19:55:44 +0000 (+0000) Subject: Run is_callable, just to make sure the autoloader gets called. X-Git-Tag: 1.31.0-rc.0~32860 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=49aa485313aa7f1fc9eb7ac0772fafe400bf29ee;p=lhc%2Fweb%2Fwiklou.git Run is_callable, just to make sure the autoloader gets called. --- diff --git a/includes/MWFunction.php b/includes/MWFunction.php index b3e79debd9..0756ad24b0 100644 --- a/includes/MWFunction.php +++ b/includes/MWFunction.php @@ -30,6 +30,9 @@ class MWFunction { } } + // Run autoloader (workaround for call_user_func_array bug: http://bugs.php.net/bug.php?id=51329) + is_callable( $callback ); + return $callback; }