diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,7 +75,8 @@ if (isset($_GET['login'])) { | |||
75 | $poche->generateToken(); | 75 | $poche->generateToken(); |
76 | } | 76 | } |
77 | else { | 77 | else { |
78 | $poche->generateFeeds($_GET['token'], $_GET['user_id'], $_GET['type']); | 78 | $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0); |
79 | $poche->generateFeeds($_GET['token'], $_GET['user_id'], $tag_id, $_GET['type']); | ||
79 | } | 80 | } |
80 | } | 81 | } |
81 | 82 | ||