php 81. deprecated

This commit is contained in:
Nicola Galgano 2022-06-01 08:40:17 +02:00 committed by GitHub
parent 14554d87e7
commit 25a440b9b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ class PullsModel extends ListModel
HTMLHelper::_('string.truncate', $pull->title, 150)
),
$this->getDbo()->quote(
HTMLHelper::_('string.truncate', $pull->body, 100)
HTMLHelper::_('string.truncate', $pull->body ?? '', 100)
),
$this->getDbo()->quote($pull->html_url),
(int) $isRTC,