MAPG-235 fix user deletion bug
This commit is contained in:
1 parent
a7cfc3c19f
commit
c085a5a1ca
5 files changed
+32
-7
No files matched your search
@@ -60,7 +60,7 @@ class PersistentDataManager
|
||||
if (strpos($key, '__') == false) {
|
||||
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
||||
|
||||
if (method_exists($model, $method)) {
|
||||
if (method_exists($model, $method) && isset($value)) {
|
||||
$model->$method($value);
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ class PersistentDataManager
|
||||
|
||||
$method = 'set' . str_replace('_', '', ucwords($key, '_'));
|
||||
|
||||
if (method_exists($model, $method)) {
|
||||
if (method_exists($model, $method) && isset($value)) {
|
||||
$model->$method($value);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user