Fixed avatar image with flex user

This commit is contained in:
Matias Griese
2019-02-07 09:58:45 +02:00
parent 740e8a3973
commit 68be7a1881
2 changed files with 3 additions and 3 deletions

View File

@@ -652,12 +652,12 @@ class Admin
$data[$type] = $obj;
} elseif (preg_match('|users/|', $type)) {
$obj = User::load(preg_replace('|users/|', '', $type));
$obj->merge($this->cleanUserPost($post));
$obj->update($this->cleanUserPost($post));
$data[$type] = $obj;
} elseif (preg_match('|user/|', $type)) {
$obj = User::load(preg_replace('|user/|', '', $type));
$obj->merge($this->cleanUserPost($post));
$obj->update($this->cleanUserPost($post));
$data[$type] = $obj;
} elseif (preg_match('|config/|', $type)) {