Skip to content

Commit

Permalink
fix import error with long title
Browse files Browse the repository at this point in the history
  • Loading branch information
seibtph authored and Philipp Seibt committed Sep 23, 2019
1 parent 9b1412e commit cd1e291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewsListener/CronListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function getFbPosts()
$objNews->addImage = 1;
}
$objNews->tstamp = time();
$objNews->headline = $title;
$objNews->headline = substr($title,0,255);

if($message == "" && $imageTitle != "") {
$objNews->teaser = $imageTitle;
Expand Down

0 comments on commit cd1e291

Please sign in to comment.