philsturgeon/codeigniter-restserver — Issue #96: Format CSV Error
Author: knide
Created: 2012-02-18 10:57:44+00:00
State: open

Tried to affix /format/csv to my url and it prompted me a download, but when I viewed the CSV file this is what's inside the file:

A PHP Error was encountered

Severity: Warning

Message: array_keys() [function.array-keys]: The first argument should be an array

Filename: libraries/Format.php

Line Number: 183

A PHP Error was encountered

Severity: Warning

Message: implode() [function.implode]: Invalid arguments passed

Filename: libraries/Format.php

Line Number: 193

A PHP Error was encountered

Severity: Warning

Message: implode() [function.implode]: Invalid arguments passed

Filename: libraries/Format.php

Line Number: 196

and the error line number 196 continues to how many records I have, other format displays just fine.