diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-05 23:11:10 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-05 23:11:10 +0200 |
commit | f6df40db46a1ee3d422d205e38c1a47c7555f4cb (patch) | |
tree | a19465ad134eee1b61db2563d516ca83fe8dc067 | |
parent | 6fb3a2a18591a4c79e91a90282d88cd84554f83c (diff) | |
download | wallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.tar.gz wallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.tar.zst wallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.zip |
default sorting
-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'])) { |