diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-03 03:00:36 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-03 03:00:36 +0200 |
commit | 74693ed2db27dbe732af1f44929a8976b0017050 (patch) | |
tree | d2be725ba95bb04327a9b50642e8db962546a84d /index.php | |
parent | 8f574db911ebd7748f2462f423e92b275ce99b56 (diff) |
add padding to the bottom to be able to scroll even with one element
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' ); |