Code

unitialised var fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Jul 2005 10:55:40 +0000 (10:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Jul 2005 10:55:40 +0000 (10:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@936 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/ldapmanager/class_import.inc

index 7d23ba0620889f6815f314448b1cc5ec2824d835..d672df64d9c499e10ece1502bed3cfdfd8f58b2e 100644 (file)
@@ -42,7 +42,8 @@ class ldifimport extends plugin
 
 
         $smarty->assign("type","importfile");
-
+                       
+               $handle = NULL;
 
         // Check if there is a file submitted
 
@@ -87,7 +88,7 @@ class ldifimport extends plugin
           if(!empty($_POST['cleanup']))   $cleanup   = true; else $cleanup = false;
 
           //
-
+                 $ErrorStr="";
           $check = $ldap->import_complete_ldif($str,$ErrorStr,$overwrite,$cleanup);
 
           if($check == INSERT_OK  )