Code

Updated functions
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 15:21:45 +0000 (15:21 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 15:21:45 +0000 (15:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12832 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 6cb2ede0581e9d969b690b0e3f9a09c4036f3cf8..562a48f60f79069d4c4d1c583926089965e217bf 100644 (file)
@@ -120,8 +120,8 @@ function __autoload($class_name) {
            exit;
     }
 
-    if (isset($class_mapping[$class_name])){
-      require_once($BASE_DIR."/".$class_mapping[$class_name]);
+    if (isset($class_mapping["$class_name"])){
+      require_once($BASE_DIR."/".$class_mapping["$class_name"]);
     } else {
       echo sprintf(_("Fatal error: cannot instantiate class '%s' - try running '%s' to fix this"), $class_name, "<b>update-gosa</b>");
       exit;