From e837c1be9478752e9654e1d80d3440c31d965004 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 12 Feb 2008 11:06:48 +0000 Subject: [PATCH] Fixed single-value attributes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8853 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 7ca37d200..5fb9fbe2c 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -212,7 +212,7 @@ class plugin unset($this->saved_attributes[$index]); continue; } - if ($this->saved_attributes[$index]["count"] == 1){ + if (isset($this->saved_attributes[$index][0]) || $this->saved_attributes[$index]["count"] == 1){ $tmp= $this->saved_attributes[$index][0]; unset($this->saved_attributes[$index]); $this->saved_attributes[$index]= $tmp; -- 2.30.2