1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-23 14:56:51 +02:00

Various minor updates

This commit is contained in:
Ryan Cramer
2020-07-03 15:45:34 -04:00
parent e4d534747a
commit 09c67d5478
3 changed files with 7 additions and 3 deletions

View File

@@ -109,6 +109,7 @@ class LanguageSupportPageNames extends WireData implements Module, ConfigurableM
$pageNumUrlPrefix = $this->get("pageNumUrlPrefix$language");
if($pageNumUrlPrefix) $pageNumUrlPrefixes[] = $pageNumUrlPrefix;
$fields->setNative("name$language");
$fields->setNative("status$language");
}
if(count($pageNumUrlPrefixes)) {
$pageNumUrlPrefixes[] = $config->pageNumUrlPrefix; // original/fallback prefix