Commit c4e4bdfc authored by Phil Höfer's avatar Phil Höfer
Browse files

Update app/MetaGer.php

parent f1595fe1
......@@ -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'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment