mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
replace last remaining call of sanitizeString() by preg_replace()
This commit is contained in:
parent
5397dbd58c
commit
97ee39df99
|
@ -34,7 +34,7 @@ foreach($allusers as $u) {
|
||||||
$categories = $dms->getAllKeywordCategories($userids);
|
$categories = $dms->getAllKeywordCategories($userids);
|
||||||
|
|
||||||
if($_GET['target']) {
|
if($_GET['target']) {
|
||||||
$target = sanitizeString($_GET['target']);
|
$target = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET['target']);
|
||||||
} else {
|
} else {
|
||||||
$target = 'form1';
|
$target = 'form1';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user