1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 08:44:46 +02:00
This commit is contained in:
Ryan Cramer
2021-12-03 11:16:01 -05:00
parent c322cb98ef
commit 3e8a0336e4

View File

@@ -133,7 +133,9 @@ class LanguageSupportPageNames extends WireData implements Module, ConfigurableM
// tell ProcessPageView which segments are allowed for pagination
if(count($pageNumUrlPrefixes)) {
$pageNumUrlPrefixes['default'] = $config->pageNumUrlPrefix; // original/fallback prefix
if(empty($pageNumUrlPrefixes['default'])) {
$pageNumUrlPrefixes['default'] = $config->pageNumUrlPrefix; // original/fallback prefix
}
$config->set('pageNumUrlPrefixes', $pageNumUrlPrefixes);
}
}