summaryrefslogtreecommitdiff
path: root/mobile/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/functions.php')
-rw-r--r--mobile/functions.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index 3d3cdc660..6e5d1dafe 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -413,8 +413,13 @@
if ($num_headlines > 0 && ($num_unread == 0 || $num_unread > $next_offset)) {
- $articles_url = "feed.php?id=$feed_id&cat=$cat_id&skip=$next_offset".
- "&search=$search";
+ if ($is_cat) {
+ $articles_url = "feed.php?id=$feed_id&skip=$next_offset".
+ "&search=$search&is_cat=true";
+ } else {
+ $articles_url = "feed.php?id=$feed_id&cat=$cat_id&skip=$next_offset".
+ "&search=$search";
+ }
print "<li><a href=\"$articles_url\"
target=\"_replace\">Get more articles...</a></li>";