Skip to content

Commit

Permalink
Truncate long titles (Fix joomla#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Dec 5, 2015
1 parent d1111be commit 95f62b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function requestFromGithub($page)
// Build the data object to store in the database
$pullData = array(
$pull->number,
$this->getDb()->quote($pull->title),
$this->getDb()->quote(\JHtml::_('string.truncate', $pull->title, 150)),
$this->getDb()->quote(\JHtml::_('string.truncate', $pull->body, 100)),
$this->getDb()->quote($pull->html_url),
$this->getDb()->quote($pull->head->sha)
Expand Down

0 comments on commit 95f62b4

Please sign in to comment.