summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 0e2c6539d..72c684fc7 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -761,7 +761,11 @@ function tpl_pageinfo(){
global $lang;
global $INFO;
global $REV;
-
+ global $ID;
+
+ // return if we are not allowed to view the page
+ if (!auth_quickaclcheck($ID)) { return; }
+
// prepare date and path
$fn = $INFO['filepath'];
if(!$conf['fullpath']){