1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00
This commit is contained in:
Ryan Cramer
2024-11-01 10:57:53 -04:00
parent b2b810f181
commit 4d6589bdc8
4 changed files with 6 additions and 6 deletions

View File

@@ -155,7 +155,7 @@ class ProcessProfile extends Process implements ConfigurableModule, WirePageEdit
$field = $user->fields->getFieldContext($field);
$inputfield = $field->getInputfield($user);
if(!$inputfield) continue;
$inputfield->value = $user->get($field->name);
$inputfield->val($user->get($field->name));
if($field->name === 'admin_theme') {
if(!$inputfield->value) $inputfield->value = $config->defaultAdminTheme;