mobile: fix uncategorized category not respecting the browse cat setting

This commit is contained in:
Andrew Dolgov 2011-03-18 18:08:07 +03:00
parent ebb948c24e
commit 4308d33ff4
1 changed files with 56 additions and 52 deletions

View File

@ -306,7 +306,11 @@
} }
if ($unread > 0 || !mobile_get_pref($link, "HIDE_READ")) { if ($unread > 0 || !mobile_get_pref($link, "HIDE_READ")) {
if ($cat_browse)
print "<li class='$class'><a href='cat.php?id=0'>$title</a></li>"; print "<li class='$class'><a href='cat.php?id=0'>$title</a></li>";
else
print "<li class='$class'><a href='feed.php?id=0&is_cat=true'>$title</a></li>";
} }
} }