mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 08:14:56 -04:00
Fix PHP7 susbtr (#5929)
fix https://github.com/FreshRSS/FreshRSS/issues/5928 `susbstr` might return false in PHP7 Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
This commit is contained in:
committed by
GitHub
parent
8bff77c45e
commit
803fa8fdb5
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user