airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [09/20] airavata-php-gateway git commit: minor fixes
Date Wed, 17 Aug 2016 15:32:56 GMT
minor fixes


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

Branch: refs/heads/develop
Commit: 7b21101001e406144c130086121db51f003fc37f
Parents: 98b6ca3
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Mon Aug 15 12:10:45 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Mon Aug 15 12:10:45 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/7b211010/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index b22b8be..d90d2ce 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -572,7 +572,12 @@ class ExperimentUtilities
                 '<p>AiravataSystemException: ' . $ase->getMessage() . '</p>');
         }
 
-        ExperimentUtilities::share_experiment($expId, json_decode($share));
+        $share = json_decode($share);
+        $share->{Session::get("username")} = new stdClass();
+        $share->{Session::get("username")}->read = true;
+        $share->{Session::get("username")}->write = true;
+
+        ExperimentUtilities::share_experiment($expId, $share);
     }
 
 


Mime
View raw message