aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index d0dd4ab5..40cadf88 100644
--- a/index.php
+++ b/index.php
@@ -14,7 +14,7 @@ $referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER'];
14$view = Tools::checkVar('view', 'home'); 14$view = Tools::checkVar('view', 'home');
15$action = Tools::checkVar('action'); 15$action = Tools::checkVar('action');
16$id = Tools::checkVar('id'); 16$id = Tools::checkVar('id');
17$_SESSION['sort'] = Tools::checkVar('sort'); 17$_SESSION['sort'] = Tools::checkVar('sort', 'id');
18$url = new Url((isset ($_GET['url'])) ? $_GET['url'] : ''); 18$url = new Url((isset ($_GET['url'])) ? $_GET['url'] : '');
19 19
20if (isset($_GET['login'])) { 20if (isset($_GET['login'])) {