Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop f5ff011aa -> 21748deb1


fixed experiment ownership nomenclature issue


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

Branch: refs/heads/develop
Commit: 81628aaa47b7c27395cccb640708a4bfe1706467
Parents: face8c5
Author: Jeff Kinnison <[email protected]>
Authored: Wed Aug 17 13:40:03 2016 -0400
Committer: Jeff Kinnison <[email protected]>
Committed: Wed Aug 17 13:40:03 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/81628aaa/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php 
b/app/libraries/ExperimentUtilities.php
index 631cb98..9cc63a5 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -1326,9 +1326,9 @@ class ExperimentUtilities
      */
     private static function share_experiment($expId, $users) {
         $experiment = ExperimentUtilities::get_experiment($expId);
-        $users->{$experiment->owner} = new stdClass();
-        $users->{$experiment->owner}->read = true;
-        $users->{$experiment->owner}->write = true;
+        $users->{$experiment->userName} = new stdClass();
+        $users->{$experiment->userName}->read = true;
+        $users->{$experiment->userName}->write = true;
 
         $wadd = array();
         $wrevoke = array();

Reply via email to