mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 08:44:46 +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
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user