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 bug in experiment status checking object to be array
Date Wed, 07 Sep 2016 20:08:15 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop deb8b9e5b -> 35c1de4cd


fixing bug in experiment status checking object to be array


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

Branch: refs/heads/develop
Commit: 35c1de4cd2b4402bed4004b923d755549f16192e
Parents: deb8b9e
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Sep 7 16:08:03 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Sep 7 16:08:13 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/35c1de4c/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index c11bbca..f58a3c4 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -969,7 +969,7 @@ class ExperimentUtilities
             $expVal["experimentCreationTime"] = $experiment->creationTime / 1000; // divide
by 1000 since creationTime is in ms
         }
 
-        if (!$forSearch && is_object( $experiment->experimentStatus) ){
+        if (!$forSearch && is_array( $experiment->experimentStatus) ){
             $userConfigData = $experiment->userConfigurationData;
             $scheduling = $userConfigData->computationalResourceScheduling;
 


Mime
View raw message