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 ...@@ -32,10 +32,7 @@ class PresentingController extends MarketController
$this->tags = $tags_statement->fetchAll(PDO::FETCH_ASSOC); $this->tags = $tags_statement->fetchAll(PDO::FETCH_ASSOC);
// Set view // Set view
$_SESSION['pluginmarket']['view'] = Request::get('view') ? : $_SESSION['pluginmarket']['view']; $_SESSION['pluginmarket']['view'] = Request::get('view', $_SESSION['pluginmarket']['view'] ?? 'tiles');
if (!isset($_SESSION['pluginmarket']['view'])) {
$_SESSION['pluginmarket']['view'] = 'tiles';
}
// Sidebar // Sidebar
$sidebar = Sidebar::Get(); $sidebar = Sidebar::Get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment