Code

Updated error Messages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 08:27:13 +0000 (08:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 08:27:13 +0000 (08:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19203 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc

index 7565a656f183a9d6d9306086deba91dccb732326..c720903cea39f232fab4f415a4dafcaeab43bf2d 100644 (file)
@@ -217,7 +217,6 @@ class csvimport extends plugin
                             $this->usertab->save();
                             change_password($this->usertab->dn,$password); 
                         }
-                            $this->usertab->dn;
                     }
                 }
 
@@ -270,8 +269,8 @@ class csvimport extends plugin
 
                     $dataouts = array(); 
                     for($i =$begin; $i <= $end; $i++) {
-                        if(is_array($this->csvinfo['sorteddata'][($i-1)])){
-                            foreach($this->csvinfo['sorteddata'][($i-1)] as $dat){
+                        if(is_array($this->csvinfo['sorteddata'][($i)])){
+                            foreach($this->csvinfo['sorteddata'][($i)] as $dat){
                                 $dataouts[]=$dat;
                             }
                         }