From: Chad Horohoe Date: Sun, 29 Jun 2008 03:42:37 +0000 (+0000) Subject: (bug 14670) Return false if AutoLoader can't find a class. X-Git-Tag: 1.31.0-rc.0~46849 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=a54a6796e21eb42fe47609ebff931fc4fcfdf60b;p=lhc%2Fweb%2Fwiklou.git (bug 14670) Return false if AutoLoader can't find a class. --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index c66ef5976c..ba31ce652f 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -484,7 +484,7 @@ class AutoLoader { if ( !$filename ) { # Give up wfProfileOut( __METHOD__ ); - return; + return false; } }