summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5c1de7)
raw | patch | inline | side by side (parent: e5c1de7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jul 2005 10:56:55 +0000 (10:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jul 2005 10:56:55 +0000 (10:56 +0000) |
plugins/addons/ldapmanager/class_csvimport.inc | patch | blob | history |
diff --git a/plugins/addons/ldapmanager/class_csvimport.inc b/plugins/addons/ldapmanager/class_csvimport.inc
index 8e81078b1a0c01833c25b00adcf2be5aca3f5726..edc2ecb027568a819f0f1d01ac889c3e877cd2f1 100644 (file)
} else {
/* Check if theres a file uploaded */
if(!empty($_FILES['userfile']['name'])){
+
+ $handle = NULL;
+
if((!isset($_FILES['userfile']['name']))||(!isset($_POST['fileup'])))
{
print_red(_("There is no file uploaded."));
{
$smarty->assign("fileup",TRUE);
$str = "";
+
/* Reading content */
while(!feof($handle)) {