1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00

Fix ProcessProfile save issue

This commit is contained in:
Ryan Cramer
2016-09-25 07:40:33 -04:00
parent 50f2834a0a
commit 20011dc147

View File

@@ -163,8 +163,8 @@ class ProcessProfile extends Process implements ConfigurableModule, WirePageEdit
if($field->name == 'pass' && empty($value)) continue;
if($inputfield->isChanged()) {
$v = $user->get($field->name);
$v = $user->get($field->name);
if($inputfield->isChanged() || $v !== $value) {
if($languages && $inputfield->getSetting('useLanguages')) {
if(is_object($v)) {
$v->setFromInputfield($inputfield);