From: hickert Date: Wed, 27 Jul 2011 07:43:19 +0000 (+0000) Subject: removed last in_array call X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5bf2179eff2d48460671d43eabeb422473c940aa;p=gosa.git removed last in_array call git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20959 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 {