mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +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, ',')) {
|
||||
$name = $sanitizer->names($name, ',', array('_', '.'));
|
||||
} else {
|
||||
$name = $sanitizer->pageName($name); // note: switch to pageName over fieldName to support "."
|
||||
$name = $sanitizer->fieldSubfield($name, 2);
|
||||
}
|
||||
|
||||
if(!$name) continue;
|
||||
|
Reference in New Issue
Block a user