summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorEsther Brunner <esther@kaffeehaus.ch>2005-08-30 22:21:15 +0200
committerEsther Brunner <esther@kaffeehaus.ch>2005-08-30 22:21:15 +0200
commitdbb00abcfb0db727767b60293e390e4adc959398 (patch)
treeb0a1d136ba6cbf3aca24b55c4cd8800e5f8d82af /inc/html.php
parenta15ce62dba2e46a5754ac7f4c603661dd98a429a (diff)
downloadrpg-dbb00abcfb0db727767b60293e390e4adc959398.tar.gz
rpg-dbb00abcfb0db727767b60293e390e4adc959398.tar.bz2
Namespace filtering for recent changes
darcs-hash:20050830202115-283c4-2a186854aa11e2e6e5a12da39dcd90c8723e2c90.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 3078ff838..dcd11feb1 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -450,15 +450,15 @@ function html_revisions(){
function html_recent($first=0){
global $conf;
global $lang;
-
+ global $ID;
/* we need to get one additionally log entry to be able to
* decide if this is the last page or is there another one.
* This is the cheapest solution to get this information.
*/
- $recents = getRecents($first,$conf['recent'] + 1,true);
+ $recents = getRecents($first,$conf['recent'] + 1,true,getNS($ID));
if(count($recents) == 0 && $first != 0){
$first=0;
- $recents = getRecents(0,$conf['recent'] + 1,true);
+ $recents = getRecents(0,$conf['recent'] + 1,true,getNS($ID));
}
$cnt = count($recents) <= $conf['recent'] ? count($recents) : $conf['recent'];