diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
20 | if (isset($_GET['login'])) { | 20 | if (isset($_GET['login'])) { |