Răsfoiți Sursa

Fix starred import (#5332)

Fix https://github.com/FreshRSS/FreshRSS/issues/5331
Alexandre Alapetite 2 ani în urmă
părinte
comite
cc03cee746
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/Models/Entry.php

+ 1 - 1
app/Models/Entry.php

@@ -42,7 +42,7 @@ class FreshRSS_Entry extends Minz_Model {
 	 * @param int|string $pubdate
 	 */
 	public function __construct(int $feedId = 0, string $guid = '', string $title = '', string $authors = '', string $content = '',
-			string $link = '', $pubdate = 0, bool $is_read = false, bool $is_favorite = false, string $tags = '') {
+			string $link = '', $pubdate = 0, ?bool $is_read = false, ?bool $is_favorite = false, string $tags = '') {
 		$this->_title($title);
 		$this->_authors($authors);
 		$this->_content($content);