mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 01:04:16 +02:00
Continued updates to PagesRequest, PagesPathFinder, LanguageSupportPageNames, ProcessPageView and related modules
This commit is contained in:
@@ -2587,7 +2587,7 @@ class PageFinder extends Wire {
|
||||
}
|
||||
if($langNames) {
|
||||
$module = $this->languages->pageNames();
|
||||
if($module) $selectorValue = $module->updatePath($selectorValue);
|
||||
if($module) $selectorValue = $module->removeLanguageSegment($selectorValue);
|
||||
}
|
||||
$parts = explode('/', rtrim($selectorValue, '/'));
|
||||
$part = $sanitizer->pageName(array_pop($parts), Sanitizer::toAscii);
|
||||
|
Reference in New Issue
Block a user