Skip to content

A free, self-hostable news aggregator…

Fix EntryDAO tags warning for Fever API

Alexandre Alapetite9cc72c0c4860
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 21f17c097..93d1183c9 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -1065,7 +1065,7 @@ SQL;
$dao['date'],
$dao['is_read'],
$dao['is_favorite'],
- $dao['tags']
+ isset($dao['tags']) ? $dao['tags'] : ''
);
if (isset($dao['id'])) {
$entry->_id($dao['id']);