From 1c7288f93d7766566097fc7d37636a3d9a42bd3d Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Oct 2008 11:21:44 +0000 Subject: [PATCH] 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 --- gosa-plugins/opsi/admin/opsi/class_opsi.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.30.2