From: hickert Date: Thu, 9 Oct 2008 11:21:44 +0000 (+0000) Subject: iUpdated class opsi X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c7288f93d7766566097fc7d37636a3d9a42bd3d;p=gosa.git iUpdated class opsi -Allow empty values for description and notes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12655 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index 23b4847ea..d3d781175 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -186,9 +186,7 @@ class opsi extends gosaSupportDaemon /* Add optional attributes */ foreach(array("notes","description") as $attr) { - if(!empty($$attr)){ - $data[$attr] = $$attr; - } + $data[$attr] = $$attr; } /* Query SI server */