lavela / phpjasper

Create Reports in PHP with JasperReports
MIT License
66 stars 20 forks source link

list_parameters() return Invalid Format! #30

Closed ramirocavalcanti closed 3 years ago

ramirocavalcanti commented 6 years ago

To fix, add a empty array at the end of generateCommand)

$this->the_command = $this->generateCommand('list_parameters');

Becomes: $this->the_command = $this->generateCommand('list_parameters',[]);

public function list_parameters($input_file) { $this->setInputFile($input_file);

    $this->the_command = $this->generateCommand('list_parameters',[]);

    return $this;
}