mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Fix issue processwire/processwire-issues#1447
This commit is contained in:
@@ -133,7 +133,9 @@ class LanguageSupportPageNames extends WireData implements Module, ConfigurableM
|
|||||||
|
|
||||||
// tell ProcessPageView which segments are allowed for pagination
|
// tell ProcessPageView which segments are allowed for pagination
|
||||||
if(count($pageNumUrlPrefixes)) {
|
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);
|
$config->set('pageNumUrlPrefixes', $pageNumUrlPrefixes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user