summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 404e6c6)
raw | patch | inline | side by side (parent: 404e6c6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jun 2006 08:50:22 +0000 (08:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jun 2006 08:50:22 +0000 (08:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3933 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 5f5af979d1208436a18984e739532d63dbf56bab..080f606cefb11a50c4fc3c313b56d699a368f7e3 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;