Преглед изворни кода

Fix EntryDAO tags warning for Fever API

https://github.com/FreshRSS/FreshRSS/issues/2239
Alexandre Alapetite пре 7 година
родитељ
комит
9cc72c0c48
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Models/EntryDAO.php

+ 1 - 1
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']);