mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-10 17:08:47 +00:00
[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:
parent
cf146523be
commit
5d0ee926a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user