From: hickert Date: Tue, 27 Jun 2006 08:23:52 +0000 (+0000) Subject: Fixed undefined index, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=48255345960f314a5b5fd54d57572ce65ea31345;p=gosa.git Fixed undefined index, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3931 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_config.inc b/include/class_config.inc index 9c66e8941..09024297c 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -541,7 +541,7 @@ class config { foreach ($this->departments as $key => $val){ /* When using strict_units, filter non relevant parts */ - if (preg_match('/true/i', $config->current['STRICT_UNITS'])){ + if (isset($config->current['STRICT_UNITS']) && preg_match('/true/i', $config->current['STRICT_UNITS'])){ if ($ui->gosaUnitTag != "" && isset($this->tdepartments[$val]) && $this->tdepartments[$val] != $ui->gosaUnitTag){ continue;