summaryrefslogtreecommitdiff
path: root/app/Model/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/User.php')
-rw-r--r--app/Model/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/User.php b/app/Model/User.php
index 5792a549..fd2ec954 100644
--- a/app/Model/User.php
+++ b/app/Model/User.php
@@ -279,7 +279,7 @@ class User extends Base
$this->removeFields($values, array('confirmation', 'current_password'));
$this->resetFields($values, array('is_admin', 'is_ldap_user', 'is_project_admin', 'disable_login_form'));
- $this->removeEmptyFields($values, array('gitlab_id'));
+ $this->convertNullFields($values, array('gitlab_id'));
$this->convertIntegerFields($values, array('gitlab_id'));
}