summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eab6959)
raw | patch | inline | side by side (parent: eab6959)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jun 2006 08:23:52 +0000 (08:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jun 2006 08:23:52 +0000 (08:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3931 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 9c66e8941f61c4069616ac7831979760365b93f6..09024297c925fc72e4067c924fd6821d33f0a755 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
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;