From ab5a7477d40a898e7a89e5b41dc64f47aa3ae9de Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 26 Oct 2020 14:03:52 +0100 Subject: [PATCH] v1.4.8e Fixed a bug where when you updated a guide, it would add a extra read more button --- skolehjem/app/Http/Controllers/GuideController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skolehjem/app/Http/Controllers/GuideController.php b/skolehjem/app/Http/Controllers/GuideController.php index d54f732..9a44efd 100644 --- a/skolehjem/app/Http/Controllers/GuideController.php +++ b/skolehjem/app/Http/Controllers/GuideController.php @@ -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)). '
$guide]). '" class="sde-blue ">Læs mere'; + $news->content = $this->closetags(substr($guidee->guide_articles, 0, 300)); NewsController::storeAndGet($news); }