summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:21:03 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:21:03 +0200
commita59854cc809828501371dc934362c81a82e83cee (patch)
tree24e9172389f9fdf3aaaac50452f90c8dc9e77ed1 /index.php
parentce2e3bd0cba51d5625c53d14bd58204eca89eaf2 (diff)
adding space between) and {
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 88bc99064..fd153502d 100644
--- a/index.php
+++ b/index.php
@@ -44,13 +44,13 @@ if ($allfeeds) {
$feedmapper = new OCA\News\FeedMapper(OCP\USER::getUser($userid));
$lastViewedId = OCP\Config::getUserValue($userid, 'news', 'lastViewedFeed');
$lastViewedType = OCP\Config::getUserValue($userid, 'news', 'lastViewedFeedType');
- if( $lastViewedId == null || $lastViewedType == null){
+ if( $lastViewedId == null || $lastViewedType == null) {
$feedid = $feedmapper->mostRecent();
} else {
$feedid = $lastViewedId;
$feedtype = $lastViewedType;
// check if feed exists in table
- if($feedmapper->findById($feedid) === null){
+ if($feedmapper->findById($feedid) === null) {
$feedid = $feedmapper->mostRecent();
}
}