summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-10-13 03:18:58 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-10-13 03:18:58 +0200
commit523f5304be09223b3b57a9df0452123e90f627e3 (patch)
tree512e30ce86834933aa3d7e8af21006baa9f384ea /templates/part.listfeed.php
parent8904f6d3f5132529d654c5b5a8b94cec7304b482 (diff)
fixed bug that wouldnt highlight last viewed feed/folder
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 74ad344c8..aef4bb4b3 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -16,7 +16,8 @@ if ($favicon == null) {
$lastViewedFeedId = isset($_['lastViewedFeedId']) ? $_['lastViewedFeedId'] : null;
$lastViewedFeedType = isset($_['lastViewedFeedType']) ? $_['lastViewedFeedType'] : null;
-if ($lastViewedFeedType === OCA\News\FeedType::FEED && $lastViewedFeedId === $feedId){
+
+if ($lastViewedFeedType == OCA\News\FeedType::FEED && $lastViewedFeedId == $feedId){
$activeClass = 'active';
} else {
$activeClass = '';