mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
undo
This commit is contained in:
parent
941e208118
commit
40c128aa4d
@ -36,9 +36,7 @@
|
|||||||
$GLOBALS['phpgw']->template->set_block('import','ffooter','ffooterhandle');
|
$GLOBALS['phpgw']->template->set_block('import','ffooter','ffooterhandle');
|
||||||
$GLOBALS['phpgw']->template->set_block('import','imported','importedhandle');
|
$GLOBALS['phpgw']->template->set_block('import','imported','importedhandle');
|
||||||
|
|
||||||
// $csvfile = isset($_POST['csvfile']) ? $_POST['csvfile'] : $_FILES['csvfile']['tmp_name'];
|
$csvfile = isset($_POST['csvfile']) ? $_POST['csvfile'] : $_FILES['csvfile']['tmp_name'];
|
||||||
// Possible fix for security issue.
|
|
||||||
$csvfile = $_FILES['csvfile']['tmp_name'];
|
|
||||||
|
|
||||||
if(($_POST['action'] == 'download' || $_POST['action'] == 'continue') && (!$_POST['fieldsep'] || !$csvfile || !($fp=fopen($csvfile,'rb'))))
|
if(($_POST['action'] == 'download' || $_POST['action'] == 'continue') && (!$_POST['fieldsep'] || !$csvfile || !($fp=fopen($csvfile,'rb'))))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user