You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/08/17 15:32:56 UTC
[09/20] airavata-php-gateway git commit: minor fixes
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 <je...@gmail.com>
Authored: Mon Aug 15 12:10:45 2016 -0400
Committer: Jeff Kinnison <je...@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);
}