aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-25 07:26:56 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-25 07:26:56 +0200
commit830612f555d8bc72669fe9bc0686680001af0e52 (patch)
treecd733e8548290158d578da185bd541e7fe4b1a31 /inc
parent7dd8b5026d0ae52fc5be001ee224aac72f3e7b25 (diff)
downloadwallabag-830612f555d8bc72669fe9bc0686680001af0e52.tar.gz
wallabag-830612f555d8bc72669fe9bc0686680001af0e52.tar.zst
wallabag-830612f555d8bc72669fe9bc0686680001af0e52.zip
typo
Diffstat (limited to 'inc')
-rwxr-xr-xinc/poche/Routing.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index 653fa900..004bd45a 100755
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -97,16 +97,16 @@ class Routing
97 97
98 private function _launchAction() 98 private function _launchAction()
99 { 99 {
100 if (isset($_GET['login'])) { 100 if (isset($_GET['login'])) {
101 // hello to you 101 // hello to you
102 $this->wallabag->login($this->referer); 102 $this->wallabag->login($this->referer);
103 } elseif (isset($_GET['feed']) && isset($_GET['user_id'])) { 103 } elseif (isset($_GET['feed']) && isset($_GET['user_id'])) {
104 $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0); 104 $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0);
105 $this->wallabag->generateFeeds($_GET['token'], filter_var($_GET['user_id'],FILTER_SANITIZE_NUMBER_INT), $tag_id, $_GET['type']); 105 $this->wallabag->generateFeeds($_GET['token'], filter_var($_GET['user_id'],FILTER_SANITIZE_NUMBER_INT), $tag_id, $_GET['type']);
106 } 106 }
107 107
108 //allowed ONLY to logged in user 108 //allowed ONLY to logged in user
109 if ( \Session::isLogged() === true ) 109 if (\Session::isLogged() === true)
110 { 110 {
111 if (isset($_GET['logout'])) { 111 if (isset($_GET['logout'])) {
112 // see you soon ! 112 // see you soon !