Merge pull request #738 from openclassify/vedatakd

fixed message
This commit is contained in:
Ozcan Durak 2020-10-23 14:22:33 +03:00 committed by GitHub
commit 06f6bad795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class ProfileFormHandler
// Prevent removing already filled fields // Prevent removing already filled fields
foreach ($parameters as $field => $value) { foreach ($parameters as $field => $value) {
if ($user->$field && !$value) { if ($user->$field && !$value) {
$messages->error('visiosoft.module.profile::message.can_not_changed_filled_fields'); $messages->error('visiosoft.module.profile::message.can_not_remove_filled_fields');
return; return;
} }
} }