]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
[fix] undefined notice for feed
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Tue, 3 Dec 2013 11:07:02 +0000 (12:07 +0100)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Tue, 3 Dec 2013 11:07:02 +0000 (12:07 +0100)
index.php

index 7d462228e7d5be446d3b76f6014dbd97c41ae075..96f28a72936368b47352e875eb08de6fd76cb7e1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -71,7 +71,7 @@ if (isset($_GET['login'])) {
 } elseif (isset($_GET['updatelanguage'])) {
     $poche->updateLanguage();
 } elseif (isset($_GET['feed'])) {
-    if ($_GET['action'] == 'generate') {
+    if (isset($_GET['action']) && $_GET['action'] == 'generate') {
         $poche->generateToken();
     }
     else {