From 803cc8ab6dbca270c2e39fbbf131b10ccd2cdce2 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Nov 2008 09:20:24 +0000 Subject: [PATCH] Updated fai listing. -Opsi products don't have a valid obejct dn which led into warnings. Fixed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12960 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_divListFai.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc index ebb49b04b..6e897c156 100644 --- a/gosa-plugins/fai/admin/fai/class_divListFai.inc +++ b/gosa-plugins/fai/admin/fai/class_divListFai.inc @@ -313,7 +313,11 @@ class divListFai extends MultiSelectWindow $display = "
".$display."
"; - /* Create each field */ + /* Some objects are non ldap objects which do not have a dn. + */ + if(!isset($value['dn'])) $value['dn'] = ""; + + /* Create each field */ $field0 = array("string" => "" , "attach" => "style='width:20px;'"); $field1 = array("string" => $img , "attach" => "style='text-align:center;width:20px;'"); -- 2.30.2