Remove GET page parameter access from Core\ACL
This commit is contained in:
parent
1a81ed8616
commit
32707022bf
2 changed files with 6 additions and 4 deletions
|
@ -186,8 +186,9 @@ function acl_content(App $a)
|
|||
// autocomplete for global contact search (e.g. navbar search)
|
||||
$search = Strings::escapeTags(trim($_REQUEST['search']));
|
||||
$mode = $_REQUEST['smode'];
|
||||
$page = $_REQUEST['page'] ?? 1;
|
||||
|
||||
$r = ACL::contactAutocomplete($search, $mode);
|
||||
$r = ACL::contactAutocomplete($search, $mode, $page);
|
||||
|
||||
$contacts = [];
|
||||
foreach ($r as $g) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue