mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
fixed message
This commit is contained in:
parent
95c126e7fb
commit
187bc7bb93
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user