diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php index 865b10e..7606416 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php @@ -362,8 +362,8 @@ class PullsModel extends ListModel // Build the data object to store in the database $pullData = [ (int) $pull->number, - $this->getDbo()->quote(HTMLHelper::_('string.truncate', $pull->title, 150)), - $this->getDbo()->quote(HTMLHelper::_('string.truncate', $pull->body, 100)), + $this->getDbo()->quote(HTMLHelper::_('string.truncate', ($pull->title ?? ''), 150)), + $this->getDbo()->quote(HTMLHelper::_('string.truncate', ($pull->body ?? ''), 100)), $this->getDbo()->quote($pull->html_url), (int) $isRTC, (int) $isNPM,