forked from science-ation/science-ation
- Fix the CSV generator
This commit is contained in:
parent
331bedc7e7
commit
857cb6aa7b
@ -242,6 +242,7 @@ foreach($stock as $n=>$v) {
|
||||
|
||||
function report_gen_by_id($report_id, $format=NULL)
|
||||
{
|
||||
global $options;
|
||||
$report = report_load($report_id);
|
||||
if($format != NULL) {
|
||||
$keys = array_keys($options['type']['values']);
|
||||
|
@ -29,7 +29,7 @@
|
||||
require_once('reports.inc.php');
|
||||
|
||||
$id = intval($_GET['id']);
|
||||
$format = stripslashes($_GET['format']);
|
||||
$format = stripslashes($_GET['type']);
|
||||
|
||||
if($format == '') $format = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user