summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b2497df)
raw | patch | inline | side by side (parent: b2497df)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 11:21:44 +0000 (11:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 11:21:44 +0000 (11:21 +0000) |
-Allow empty values for description and notes
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12655 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12655 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsi.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc
index 23b4847ea95b44acb8108e445d14bae274aed8ad..d3d781175509422d92dac1eda95faf1abef41e14 100644 (file)
/* Add optional attributes */
foreach(array("notes","description") as $attr) {
- if(!empty($$attr)){
- $data[$attr] = $$attr;
- }
+ $data[$attr] = $$attr;
}
/* Query SI server */