1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 01:34:31 +02:00
This commit is contained in:
Ryan Cramer
2021-09-17 09:27:29 -04:00
parent ba14fbde0a
commit 82342089bc

View File

@@ -1567,6 +1567,9 @@ class ProcessPageLister extends Process implements ConfigurableModule {
} else if(strpos($name, '.data') && preg_match('/\.data(\d+)$/', $name, $matches)) {
// i.e. title.data1234 or categories.title.data1234
$language = $languages->get((int) $matches[1]);
} else {
// no language identified in field name
$language = $this->wire()->user->language;
}
//if(!wireInstanceOf($field->type, 'FieldtypeLanguageInterface')) return null;