Explorar el Código

Fix EntryDAO tags warning for Fever API

https://github.com/FreshRSS/FreshRSS/issues/2239
Alexandre Alapetite hace 7 años
padre
commit
9cc72c0c48
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']);