Code

Updated multiple edit handler
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Aug 2009 09:14:43 +0000 (09:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Aug 2009 09:14:43 +0000 (09:14 +0000)
- 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

index 31115eced96878a3e78414b3add8fb5d3c49ebd8..765a7dbd35468d02c1762659af6e7d9c749ab5db 100644 (file)
@@ -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];
         }
       }
     }