From 3502b6076f6fa8be27cf1704111cbcd5ae573925 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 30 Oct 2008 15:21:45 +0000 Subject: [PATCH] Updated functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12832 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 6cb2ede05..562a48f60 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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, "update-gosa"); exit; -- 2.30.2