diff options
-rw-r--r-- | inc/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php index 76e016878..1738aacf6 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 - if($INFO['exists']){ + // print it, but hide if user/group is not allowed to access (FS#970) + if(act_permcheck($ACT) != "denied" && $INFO['exists']){ print $fn; print ' · '; print $lang['lastmod']; |