[fix] undefined notice for feed

This commit is contained in:
Nicolas Lœuillet 2013-12-03 12:07:02 +01:00
parent b8bb2b4ab6
commit f0133fe5f4

View File

@ -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 {