mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fixed profile img
This commit is contained in:
parent
fb6bd28576
commit
c0f21f78f4
@ -19,11 +19,7 @@ class UserFormHandler
|
||||
|
||||
$data = $builder->getPostData();
|
||||
|
||||
if ($builder->getPostValue('file') != null) {
|
||||
$data['file_id'] = $builder->getPostValue('file');
|
||||
} elseif (empty($builder->getPostValue('file'))) {
|
||||
$data['file_id'] = null;
|
||||
}
|
||||
$data['file_id'] = $builder->getPostValue('file');
|
||||
|
||||
$user = $userModel->find(\auth()->id());
|
||||
if ($user->email != $data['email']) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user