aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllerhome.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Controllerhome.php')
-rw-r--r--app/class/Controllerhome.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/class/Controllerhome.php b/app/class/Controllerhome.php
index 4dd8227..5c4042b 100644
--- a/app/class/Controllerhome.php
+++ b/app/class/Controllerhome.php
@@ -52,7 +52,7 @@ class Controllerhome extends Controllerpage
$vars['deepsearch'] = $deepsearch['regex'];
$vars['searchopt'] = $deepsearch['searchopt'];
$vars['display'] = $_GET['display'] ?? 'list';
-
+
if ($vars['display'] === 'map') {
$vars['layout'] = $_GET['layout'] ?? 'cose-bilkent';
$vars['showorphans'] = boolval($_GET['showorphans'] ?? false);
@@ -156,7 +156,7 @@ class Controllerhome extends Controllerpage
$this->routedirect('home');
}
}
-
+
/**
* Render every pages in the database
*/