diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index bdead78017c..07f2ea474ed 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2018 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2012 Marcos GarcĂ­a * Copyright (C) 2012 Charles-Fr BENKE @@ -125,14 +125,14 @@ $entitytolang = array( $array_selected=isset($_SESSION["export_selected_fields"])?$_SESSION["export_selected_fields"]:array(); $array_filtervalue=isset($_SESSION["export_filtered_fields"])?$_SESSION["export_filtered_fields"]:array(); -$datatoexport=GETPOST("datatoexport"); -$action=GETPOST('action', 'alpha'); -$confirm=GETPOST('confirm', 'alpha'); -$step=GETPOST("step")?GETPOST("step"):1; -$export_name=GETPOST("export_name"); -$hexa=GETPOST("hexa"); -$exportmodelid=GETPOST("exportmodelid"); -$field=GETPOST("field"); +$datatoexport=GETPOST("datatoexport","aZ09"); +$action=GETPOST('action','alpha'); +$confirm=GETPOST('confirm','alpha'); +$step=GETPOST("step","int")?GETPOST("step","int"):1; +$export_name=GETPOST("export_name","alphanohtml"); +$hexa=GETPOST("hexa","alpha"); +$exportmodelid=GETPOST("exportmodelid","int"); +$field=GETPOST("field","alpa"); $objexport=new Export($db); $objexport->load_arrays($user,$datatoexport);