From: hickert Date: Tue, 25 Aug 2009 09:14:43 +0000 (+0000) Subject: Updated multiple edit handler X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3bfa25ce2e7ef35731087e1df34bbe4a114ed568;p=gosa.git 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 --- 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]; } } }