diff --git a/src/NewsListener/CronListener.php b/src/NewsListener/CronListener.php index 7f23c76..7d2ab50 100644 --- a/src/NewsListener/CronListener.php +++ b/src/NewsListener/CronListener.php @@ -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;