fixing bug

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/2ddf2db8
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2ddf2db8
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2ddf2db8

Branch: refs/heads/master
Commit: 2ddf2db817f382e069e110f93a585b29e88cddfb
Parents: 10da17d
Author: scnakandala <[email protected]>
Authored: Tue Apr 12 15:45:52 2016 -0400
Committer: scnakandala <[email protected]>
Committed: Tue Apr 12 15:45:52 2016 -0400

----------------------------------------------------------------------
 app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2ddf2db8/app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php 
b/app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php
index 2b971ae..b8cd7e8 100755
--- a/app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php
+++ b/app/libraries/Wsis/Stubs/UserInformationRecoveryManager.php
@@ -163,7 +163,7 @@ class UserInformationRecoveryManager {
         if(!empty($country)){
             $countryDTO = new UserIdentityClaimDTO();
             $countryDTO->claimUri = "http://wso2.org/claims/country";;
-            $countryDTO->claimValue = $countryDTO;
+            $countryDTO->claimValue = $country;
             array_push($fieldValues, $countryDTO);
             $registerUser->claims = $fieldValues;
         }

Reply via email to