From: cajus Date: Thu, 30 Oct 2008 15:21:45 +0000 (+0000) Subject: Updated functions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3502b6076f6fa8be27cf1704111cbcd5ae573925;p=gosa.git Updated functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12832 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;