v1.4.8e Fixed a bug where when you updated a guide, it would add a extra read more button

This commit is contained in:
victor 2020-10-26 14:03:52 +01:00
parent 08889eb5e5
commit ab5a7477d4
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class GuideController extends Controller
$news->arrangement_id = $guide->id;
$news->type_id = '4';
$news->content = $this->closetags(substr($guidee->guide_articles, 0, 300)). '<br><a style="font-weight: 700;" href="' . route("guides.show", ["guide" => $guide]). '" class="sde-blue ">Læs mere</a>';
$news->content = $this->closetags(substr($guidee->guide_articles, 0, 300));
NewsController::storeAndGet($news);
}