From 6c07cfc151bddfba6737e60dc00152483717ac2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 15 Feb 2010 15:09:10 +0100 Subject: [PATCH] Fix autoload of userfilter.php when using ProfileFilter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_' -- 2.1.4