Code

Removed last in_array call
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2011 07:42:41 +0000 (07:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2011 07:42:41 +0000 (07:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20958 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php

index 63150502fb16884cf885047b3dc590bb40c396c9..e54305159406fbd33a2ac9e18d2fc1f7de6955f0 100644 (file)
@@ -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 {