summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-05-11 22:04:26 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-05-11 22:04:26 +0200
commitfaecdfdffdfb8a67b97b5d31903316301c7dc2d7 (patch)
tree08224b3cd1f1804ce78a89fefaa7705a2d79b0c3
parentfc8965849104aed26f5e2a70212e4299e9ac33e6 (diff)
downloadrpg-faecdfdffdfb8a67b97b5d31903316301c7dc2d7.tar.gz
rpg-faecdfdffdfb8a67b97b5d31903316301c7dc2d7.tar.bz2
UNDO: don't show page metadata for non accessible pages
darcs-hash:20070511200426-7ad00-8ac8909d40e7c62d61980c4f9b29d88b92be9da6.gz
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 1738aacf6..76e016878 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -783,8 +783,8 @@ function tpl_pageinfo(){
$fn = utf8_decodeFN($fn);
$date = date($conf['dformat'],$INFO['lastmod']);
- // print it, but hide if user/group is not allowed to access (FS#970)
- if(act_permcheck($ACT) != "denied" && $INFO['exists']){
+ // print it
+ if($INFO['exists']){
print $fn;
print ' &middot; ';
print $lang['lastmod'];