From 3bfa25ce2e7ef35731087e1df34bbe4a114ed568 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 25 Aug 2009 09:14:43 +0000 Subject: [PATCH] Updated multiple edit handler - Updated detection of common values. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14125 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 31115eced..765a7dbd3 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -1806,9 +1806,10 @@ class plugin /* Copy needed attributes */ foreach ($this->attributes as $val){ $found= array_key_ics($val, $this->multi_attrs); + if ($found != ""){ - if(isset($this->multi_attrs["$found"][0])){ - $this->$val= $this->multi_attrs["$found"][0]; + if(isset($this->multi_attrs["$val"][0])){ + $this->$val= $this->multi_attrs["$val"][0]; } } } -- 2.30.2