From d0951777c0c13e9e554595f91d01f78424b1b45a Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 Aug 2013 19:21:22 -0700 Subject: fix import from file --- mod/import.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod') diff --git a/mod/import.php b/mod/import.php index 4c878f5c6..c98f4d2eb 100644 --- a/mod/import.php +++ b/mod/import.php @@ -16,10 +16,10 @@ function import_post(&$a) { $data = null; $seize = ((x($_REQUEST,'make_primary')) ? intval($_REQUEST['make_primary']) : 0); - $src = $_FILES['userfile']['tmp_name']; - $filename = basename($_FILES['userfile']['name']); - $filesize = intval($_FILES['userfile']['size']); - $filetype = $_FILES['userfile']['type']; + $src = $_FILES['filename']['tmp_name']; + $filename = basename($_FILES['filename']['name']); + $filesize = intval($_FILES['filename']['size']); + $filetype = $_FILES['filename']['type']; if($src) { -- cgit v1.2.3