summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorKate Arzamastseva <pshns@ukr.net>2011-06-10 13:19:28 +0300
committerKate Arzamastseva <pshns@ukr.net>2011-06-10 13:19:28 +0300
commit0b926329daf6b9cd03c01a4e5b26b968d6cb16a8 (patch)
tree9db8da345cfefa1c48c381e4467eb539304a1c52 /inc/html.php
parentd9162c6cd87643d7e7af8e37cd93aa48b8aecb96 (diff)
downloadrpg-0b926329daf6b9cd03c01a4e5b26b968d6cb16a8.tar.gz
rpg-0b926329daf6b9cd03c01a4e5b26b968d6cb16a8.tar.bz2
recent changes fix
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php
index 06e9f3b0c..29e40174c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -577,8 +577,8 @@ function html_recent($first=0, $show_changes='both'){
* decide if this is the last page or is there another one.
* This is the cheapest solution to get this information.
*/
- $flags = RECENTS_INCLUDE_MEDIA;
- if ($show_changes == 'mediafiles') $flags = RECENTS_SKIP_PAGES;
+ if (!$show_changes || $show_changes == 'both') $flags = RECENTS_MEDIA_PAGES_MIXED;
+ if ($show_changes == 'mediafiles') $flags = RECENTS_MEDIA_CHANGES;
if ($show_changes == 'pages') $flags = 0;
$recents = getRecents($first,$conf['recent'] + 1,getNS($ID),$flags);