summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php
index 4585634fc..d6a367566 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -621,6 +621,9 @@ function _handleRecent($line,$incdel,$ns,$subNS){
// exclude subnamespaces
if ((!$subNS) && (getNS($id) != $ns)) return false;
+ // check ACL
+ if (auth_quickaclcheck($id) < AUTH_READ) return false;
+
// check existance
if(!@file_exists(wikiFN($id))){
if(!$incdel){