Sfoglia il codice sorgente

Merge pull request #2240 from Alkarex/entryDao_tags

Fix EntryDAO tags warning for Fever API
Alexandre Alapetite 7 anni fa
parent
commit
b1ec33a49f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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']);