You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by nd...@apache.org on 2015/11/03 17:52:30 UTC

airavata-php-gateway git commit: BugFix

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master db2d8060b -> afe8fb461


BugFix


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

Branch: refs/heads/master
Commit: afe8fb461149e5b58ca2498bbce3ebeb1494e804
Parents: db2d806
Author: Nipun Doshi <Nipun Doshi>
Authored: Tue Nov 3 11:51:53 2015 -0500
Committer: Nipun Doshi <Nipun Doshi>
Committed: Tue Nov 3 11:51:53 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/afe8fb46/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index ba266b9..b9f8bfd 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -628,8 +628,8 @@ class ExperimentUtilities
                         $outputPathArray = explode("/", $outputPath);
 
                         echo '<p>' . $output->name . ' : ' . '<a target="_blank"
-                                href="' . URL::to("/") . '/download/' . $outputArray[ count($outputArray)-2] . '/' . 
-                $outputArray[ count($outputArray)-1] . '">' .
+                                href="' . URL::to("/") . '/download/' . $outputPathArray[ count($outputPathArray)-2] . '/' . 
+                $outputPathArray[ count($outputPathArray)-1] . '">' .
                             $outputPathArray[sizeof($outputPathArray) - 1] . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
                     }
                 } elseif ($output->type == DataType::STRING) {