Run is_callable, just to make sure the autoloader gets called.
authorX! <soxred93@users.mediawiki.org>
Mon, 3 Jan 2011 19:55:44 +0000 (19:55 +0000)
committerX! <soxred93@users.mediawiki.org>
Mon, 3 Jan 2011 19:55:44 +0000 (19:55 +0000)
includes/MWFunction.php

index b3e79de..0756ad2 100644 (file)
@@ -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;
        }