Skip to content

Commit d1eacfe

Browse files
committed
fix: html incluso in esportazione csv
1 parent 2bdba7c commit d1eacfe

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

modules/anagrafiche/bulk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
$count = $exporter->exportRecords();
7171

7272
download($file, 'anagrafiche.csv');
73-
break;
73+
exit;
7474

7575
case 'change_relation':
7676
$idrelazione = post('idrelazione');

modules/articoli/bulk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
$count = $exporter->exportRecords();
258258

259259
download($file, 'articoli.csv');
260-
break;
260+
exit;
261261

262262
case 'change_category':
263263
$categoria = post('id_categoria');

modules/fatture/bulk.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,7 @@
486486
$count = $exporter->exportRecords();
487487

488488
download($file, 'fatture.csv');
489-
490-
break;
489+
exit;
491490

492491
case 'delete_bulk':
493492
$count = 0;

modules/impianti/bulk.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
$count = $exporter->exportRecords();
3636

3737
download($file, 'impianti.csv');
38-
39-
break;
38+
exit;
4039

4140
// Rimuovo impianto e scollego tutti i suoi componenti
4241
case 'delete_bulk':

0 commit comments

Comments
 (0)