Skip to content
Snippets Groups Projects
Commit c035d6f7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #35

parent f98195e4
No related branches found
No related tags found
No related merge requests found
......@@ -32,10 +32,7 @@ class PresentingController extends MarketController
$this->tags = $tags_statement->fetchAll(PDO::FETCH_ASSOC);
// Set view
$_SESSION['pluginmarket']['view'] = Request::get('view') ? : $_SESSION['pluginmarket']['view'];
if (!isset($_SESSION['pluginmarket']['view'])) {
$_SESSION['pluginmarket']['view'] = 'tiles';
}
$_SESSION['pluginmarket']['view'] = Request::get('view', $_SESSION['pluginmarket']['view'] ?? 'tiles');
// Sidebar
$sidebar = Sidebar::Get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment