diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,6 +36,9 @@ $foldermapper = new OCA\News\FolderMapper($userid); $allfeeds = $foldermapper->childrenOfWithFeeds(0); //$foldermapper->populate($folder); $folderforest = $foldermapper->childrenOf(0); //retrieve all the folders +$feedid = 0; +$feedtype = 0; + if ($allfeeds) { $feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null; if ($feedid == null) { @@ -53,9 +56,6 @@ if ($allfeeds) { } } } -} else { - $feedid = 0; - $feedtype = 0; } $tmpl = new OCP\Template( 'news', 'main', 'user' ); |