From: Raphaël Barrois Date: Mon, 15 Feb 2010 14:09:10 +0000 (+0100) Subject: Fix autoload of userfilter.php when using ProfileFilter X-Git-Tag: xorg/1.0.0~332^2~212 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6c07cfc151bddfba6737e60dc00152483717ac2a;p=platal.git Fix autoload of userfilter.php when using ProfileFilter Signed-off-by: Raphaël Barrois --- diff --git a/include/common.inc.php b/include/common.inc.php index a5bceae..8d0a1ec 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -23,7 +23,7 @@ function __autoload($cls) { if (!pl_autoload($cls)) { $cls = strtolower($cls); - if (substr($cls, 0, 4) == 'ufc_' || substr($cls, 0, 4) == 'ufo_') { + if (substr($cls, 0, 4) == 'ufc_' || substr($cls, 0, 4) == 'ufo_' || $cls == 'profilefilter') { __autoload('userfilter'); return; } else if (substr($cls, 0, 4) == 'pfc_'