fix: bug in prior refactor (#4197)

This commit is contained in:
Dag 2024-08-07 18:56:27 +02:00 committed by GitHub
parent c11bc184ca
commit 9215b95779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -136,7 +136,7 @@ class FeedItem
{
$this->title = null;
if (!is_string($title)) {
Debug::log('Title must be a string!');
trigger_error('Title must be a string: ' . print_r($title, true));
} else {
$this->title = truncate(trim($title));
}