From 1423b77e27e1ecd747d1b9b5ab3c7384545fab20 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 8 Sep 2019 14:18:08 +0200 Subject: [PATCH] Code : mistype variable $step --- include/export/export_form_csv.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/export/export_form_csv.php b/include/export/export_form_csv.php index cc6fa970c..1384d6ea2 100644 --- a/include/export/export_form_csv.php +++ b/include/export/export_form_csv.php @@ -49,7 +49,7 @@ $export->send_header(); // Step ? //-- $p_step=$http->get('p_step',"string",0); -if ( $step == 0 ) +if ( $p_step == 0 ) { if ( $type_periode == 0 ) { @@ -80,7 +80,7 @@ if ( $step == 0 ) $export->write(); } } -elseif ($step == 1) +elseif ($p_step == 1) { // Gather all the data //---