aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index afd10909e..a379f5016 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -580,7 +580,7 @@ class FreshRSS_Feed extends Minz_Model {
}
}
}
- $authorNames = substr($authorNames, 0, -2);
+ $authorNames = substr($authorNames, 0, -2) ?: '';
$entry = new FreshRSS_Entry(
$this->id(),