diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index b715ba853b7..810c63eb3b7 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 @@ -123,14 +123,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); diff --git a/htdocs/product/agenda.php b/htdocs/product/agenda.php index 64ff9c66119..20ba4a5cc69 100644 --- a/htdocs/product/agenda.php +++ b/htdocs/product/agenda.php @@ -159,7 +159,7 @@ if ($id > 0 || $ref) if ((! empty($objproduct->id) || ! empty($objcon->id)) && $permok) { //$out.='trans("AddAnAction"),'filenew');