|
|
@ -1886,7 +1886,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
MtpApiManager.invokeApi('users.getFullUser', { |
|
|
|
MtpApiManager.invokeApi('users.getFullUser', { |
|
|
|
id: AppUsersManager.getUserInput($scope.userID) |
|
|
|
id: AppUsersManager.getUserInput($scope.userID) |
|
|
|
}).then(function (userFullResult) { |
|
|
|
}).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.phone = $scope.override.phone_number; |
|
|
|
userFullResult.user.first_name = $scope.override.first_name; |
|
|
|
userFullResult.user.first_name = $scope.override.first_name; |
|
|
|
userFullResult.user.last_name = $scope.override.last_name; |
|
|
|
userFullResult.user.last_name = $scope.override.last_name; |
|
|
|