From f1595fe1663ff52a4da01787f9cf62154c424197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Phil=20H=C3=B6fer?= <phil@suma-ev.de>
Date: Fri, 6 Nov 2020 13:07:26 +0000
Subject: [PATCH] Apply Newtab Cookie

---
 app/MetaGer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/MetaGer.php b/app/MetaGer.php
index 8ea9c8c90..16a8eef86 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -1137,7 +1137,7 @@ class MetaGer
             $this->sprueche = $request->input('quotes');
         }
 
-        $this->newtab = $request->input('newtab', 'on');
+        $this->newtab = $request->input('newtab', \Cookie::get('newtab'));
         if ($this->newtab === "on") {
             $this->newtab = "_blank";
         } elseif ($this->framed) {
-- 
GitLab