From 5bf2179eff2d48460671d43eabeb422473c940aa Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Jul 2011 07:43:19 +0000 Subject: [PATCH] removed last in_array call git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20959 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index c08d3b431..afb381c18 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -163,7 +163,7 @@ if (!session::global_is_set('plist')){ /* Initially load all classes */ $class_list= get_declared_classes(); foreach ($class_mapping as $class => $path){ - if (!in_array($class, $class_list)){ + if (!in_array_strict($class, $class_list)){ if (is_readable("$BASE_DIR/$path")){ require_once("$BASE_DIR/$path"); } else { -- 2.30.2