mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 08:44:46 +02:00
Fix issue processwire/processwire-issues#1045
This commit is contained in:
@@ -361,7 +361,7 @@ class ProcessPageSearch extends Process implements ConfigurableModule {
|
|||||||
if(strpos($name, ',')) {
|
if(strpos($name, ',')) {
|
||||||
$name = $sanitizer->names($name, ',', array('_', '.'));
|
$name = $sanitizer->names($name, ',', array('_', '.'));
|
||||||
} else {
|
} else {
|
||||||
$name = $sanitizer->pageName($name); // note: switch to pageName over fieldName to support "."
|
$name = $sanitizer->fieldSubfield($name, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$name) continue;
|
if(!$name) continue;
|
||||||
|
Reference in New Issue
Block a user