summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00aba91)
raw | patch | inline | side by side (parent: 00aba91)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Sep 2008 07:30:02 +0000 (07:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Sep 2008 07:30:02 +0000 (07:30 +0000) |
-If a template entry was removed, some php warnings were shown.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12337 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12337 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiTemplate.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 7b5b94890c6084bf9bf32f385f418473f6a8a8d4..e1286d28210dd6700511957dad74c5db8fdb914f 100644 (file)
$tmp = array();
$attributes = array_merge($this->sub_Load_Later,$this->subAttributes);
foreach($attributes as $attrs){
- if($obj[$attrs] == ""){
+ if(!isset($obj[$attrs]) || $obj[$attrs] == ""){
$obj[$attrs] = array();
}
$tmp[$attrs] =($obj[$attrs]);