aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllerhome.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
committern-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
commitd2bbcab233dabe3b04f8c3b94a947ec174540418 (patch)
tree8ed06c1b412cc20f899686738a49bef6b1ead7d8 /app/class/Controllerhome.php
parent9338d030f38b465be5f6307f5ee6f2e20d904856 (diff)
downloadwcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.tar.gz
wcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.zip
run phpcbf and add fix target to Makefile
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
*/