summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9491140)
raw | patch | inline | side by side (parent: 9491140)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Dec 2005 11:45:07 +0000 (11:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Dec 2005 11:45:07 +0000 (11:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2178 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index 48615401f0f8821bfa397f897cb49417aadb3148..c04abdbeba18ff8edc6176d00e03d2f19ccefc4c 100644 (file)
function generateTempalte(){
$str= "# This code is part of GOsa (https://gosa.gonicus.de)\n#\n";
- $names = $this->parent->by_object['applicationParameters']->option_name;
- $values = $this->parent->by_object['applicationParameters']->option_value;
+ $values = array();
+ $names = array();
+ if($this->parent->by_object['applicationParameters']->is_account){
+ $names = $this->parent->by_object['applicationParameters']->option_name;
+ $values = $this->parent->by_object['applicationParameters']->option_value;
+ }
if (count($names)){
$str .="# This plugin handles these environment variables:\n";