Code

Applied patch from benoit, regarding FAI single object copy & paste.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 07:59:41 +0000 (07:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 07:59:41 +0000 (07:59 +0000)
- Variable names corrected.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17334 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 72031cfd93868a7ad1b093cc8cfdd541170052f9..60e775401cda7520812c6cdd39d2a3a16a2c4983 100644 (file)
@@ -142,7 +142,7 @@ class faiManagement extends management
         if(count($entry['GROUPS']) == 1){
           $data = array_pop($entry['GROUPS']);
           $type = $this->get_type($data);
-          $this->cpHandler->add_to_queue($g['dn'],"copy",$type[0],$type[2],'fai',$this);
+          $this->cpHandler->add_to_queue($data['dn'],"copy",$type[0],$type[2],'fai',$this);
           @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$g['dn'],"Entry copied!");
         }else{
           $this->dialogObject = new faiGroupHandle($entry['GROUPS'],"copy");