Skip to content
Snippets Groups Projects
Commit 32ee5830 authored by Chris Smith's avatar Chris Smith
Browse files

FS#1505, correct an issue where page name search results could include links...

FS#1505, correct an issue where page name search results could include links to pages to which the user had no access

darcs-hash:20090119062124-f07c6-5d761a76a50c6c9bcc124fa89feb2fb7b0a9a9b5.gz
parent b303b92c
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ function _ft_pageLookup(&$data){
// check ACL permissions
foreach(array_keys($pages) as $idx){
if(auth_quickaclcheck($pages[$idx]) < AUTH_READ){
if(auth_quickaclcheck(trim($pages[$idx])) < AUTH_READ){
unset($pages[$idx]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment