airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing typo
Date Fri, 12 Aug 2016 17:01:34 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 4bbaad144 -> d05a9624b


fixing typo


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/d05a9624
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d05a9624
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d05a9624

Branch: refs/heads/develop
Commit: d05a9624be48fe1edbb271fd59a258c55f6bc9ec
Parents: 4bbaad1
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Aug 12 13:01:30 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Aug 12 13:01:30 2016 -0400

----------------------------------------------------------------------
 app/libraries/AdminUtilities.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d05a9624/app/libraries/AdminUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AdminUtilities.php b/app/libraries/AdminUtilities.php
index 79aa7e6..4d90fbf 100644
--- a/app/libraries/AdminUtilities.php
+++ b/app/libraries/AdminUtilities.php
@@ -28,14 +28,14 @@ class AdminUtilities
         $gateway = new Gateway( $inputs);
         $gateway->gatewayId = $inputs["gateway-name"];
         $gateway->gatewayApprovalStatus = GatewayApprovalStatus::REQUESTED;
-        if( strpos($input["domain"], "//") != false)
-            $input["domain"] = substr( $input["domain"], 1 + strpos($input["domain"], "//"));
+        if( strpos($inputs["domain"], "//") != false)
+            $input["domain"] = substr( $inputs["domain"], 1 + strpos($inputs["domain"], "//"));
         $gateway->domain = $inputs["domain"];
         $gateway->gatewayName = $inputs["gateway-name"];
         $gateway->emailAddress = $inputs["email-address"];
         $gateway->gatewayAcronym = $inputs["gateway-acronym"];
-        if( strpos($input["gateway-url"], "//") != false)
-            $input["gateway-url"] = substr( $input["gateway-url"], 1 + strpos($input["gateway-url"],
"//"));
+        if( strpos($inputs["gateway-url"], "//") != false)
+            $input["gateway-url"] = substr( $inputs["gateway-url"], 1 + strpos($inputs["gateway-url"],
"//"));
         $gateway->gatewayURL = $inputs["gateway-url"];
         $gateway->gatewayAdminFirstName = $inputs["admin-firstname"];
         $gateway->gatewayAdminLastName = $inputs["admin-lastname"];


Mime
View raw message