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:
parent
08889eb5e5
commit
ab5a7477d4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue