From: hickert Date: Thu, 1 Dec 2005 11:45:07 +0000 (+0000) Subject: Fix script update X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d85e28d5371ecbb9b8c49e79478b8d20e818a06;p=gosa.git Fix script update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2178 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 48615401f..c04abdbeb 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -81,8 +81,12 @@ class application extends plugin 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";