From: hickert Date: Wed, 27 Jul 2011 07:42:41 +0000 (+0000) Subject: Removed last in_array call X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25c6cde1198027476120b86a72db080cc3a665f2;p=gosa.git Removed last in_array call git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 63150502f..e54305159 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -140,7 +140,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 {