Code

- Corrected bug with copy/paste var is $data not $g
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Mar 2010 12:38:44 +0000 (12:38 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Mar 2010 12:38:44 +0000 (12:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17301 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 7806244c2d0813b953685eb271797c19a0ee5f68..917d3d8be21fd0f156336b2a22efd65440945dd3 100644 (file)
@@ -142,8 +142,8 @@ 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);
-          @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$g['dn'],"Entry copied!");
+          $this->cpHandler->add_to_queue($data['dn'],"copy",$type[0],$type[2],'fai',$this);
+          @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$data['dn'],"Entry copied!");
         }else{
           $this->dialogObject = new faiGroupHandle($entry['GROUPS'],"copy");
         }