diff --git a/app/js/controllers.js b/app/js/controllers.js index 33befcf4..cf82296e 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -1886,7 +1886,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) MtpApiManager.invokeApi('users.getFullUser', { id: AppUsersManager.getUserInput($scope.userID) }).then(function (userFullResult) { - if ($scope.override && !userFullResult.user.phone) { + if ($scope.override && $scope.override.phone_number && !userFullResult.user.phone) { userFullResult.user.phone = $scope.override.phone_number; userFullResult.user.first_name = $scope.override.first_name; userFullResult.user.last_name = $scope.override.last_name;