mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-02 11:58:26 +00:00
Check if there is a title or body set
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
parent
a083871234
commit
e211ef0271
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user