aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-05 23:11:10 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-05 23:11:10 +0200
commitf6df40db46a1ee3d422d205e38c1a47c7555f4cb (patch)
treea19465ad134eee1b61db2563d516ca83fe8dc067
parent6fb3a2a18591a4c79e91a90282d88cd84554f83c (diff)
downloadwallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.tar.gz
wallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.tar.zst
wallabag-f6df40db46a1ee3d422d205e38c1a47c7555f4cb.zip
default sorting
-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'])) {