1
0
Fork 0
forked from blallo/rss-bridge

[JsonFormat] Remove obsolete FIXME

We don't need to convert fields that are NULL, since
json_encode will correctly encode those fields.
This commit is contained in:
logmanoriginal 2016-08-29 19:57:10 +02:00
parent cf146523be
commit 5d0ee926a5

View file

@ -6,7 +6,6 @@
class JsonFormat extends FormatAbstract{
public function stringify(){
// FIXME : sometime content can be null, transform to empty string
$items = $this->getItems();
return json_encode($items, JSON_PRETTY_PRINT);