From c4e4bdfc8c0cca1413353063a83f44d79d6839a5 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:18:54 +0000
Subject: [PATCH] Update app/MetaGer.php

---
 app/MetaGer.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/MetaGer.php b/app/MetaGer.php
index 16a8eef86..ac66be25c 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', \Cookie::get('newtab'));
+        $this->newtab = $request->input('new_tab', \Cookie::get('new_tab'));
         if ($this->newtab === "on") {
             $this->newtab = "_blank";
         } elseif ($this->framed) {
@@ -1146,7 +1146,7 @@ class MetaGer
             $this->newtab = "_self";
         }
         if ($request->filled("key") && $request->input('key') === getenv("mainz_key")) {
-            $this->newtab = "_top";
+            $this->newtab = "_blank";
         }
         # Theme
         $this->theme = preg_replace("/[^[:alnum:][:space:]]/u", '', $request->input('theme', 'default'));
-- 
GitLab