A free, self-hostable news aggregator…
Fallback to GUID when entry title is empty (#2813)
Alexandre Alapetitee9f879b411ac
diff --git a/app/Models/Entry.php b/app/Models/Entry.phpindex 45ff7b8c2..af130578f 100644--- a/app/Models/Entry.php+++ b/app/Models/Entry.php@@ -43,7 +43,7 @@ class FreshRSS_Entry extends Minz_Model {return $this->guid;}public function title() {- return $this->title;+ return $this->title == '' ? $this->guid() : $this->title;}public function author() {//Deprecated@@ -139,7 +139,7 @@ class FreshRSS_Entry extends Minz_Model {}public function _title($value) {$this->hash = null;- $this->title = $value;+ $this->title = trim($value);}public function _author($value) {//Deprecated