adding missing equal sign
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/65f1fdb3 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/65f1fdb3 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/65f1fdb3 Branch: refs/heads/master Commit: 65f1fdb3a6afe4c5bcb1d72b4e890879f6f12042 Parents: 770cf30 Author: scnakandala <supun.nakand...@gmail.com> Authored: Wed Mar 30 17:34:44 2016 -0400 Committer: scnakandala <supun.nakand...@gmail.com> Committed: Wed Mar 30 17:34:44 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/65f1fdb3/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 359f8ff..a0be1f6 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -80,7 +80,7 @@ class ExperimentUtilities $dataRoot = Config::get("pga_config.airavata")["experiment-data-absolute-path"]; if(!ExperimentUtilities::endsWith($dataRoot, "/")) $dataRoot = $dataRoot . "/"; - if(strpos($input->value, "airavata-dp") == 0){ + if(strpos($input->value, "airavata-dp") === 0){ $dataProductModel = Airavata::getDataProduct(Session::get('authz-token'), $input->value); $currentInputPath = ""; foreach ($dataProductModel->replicaLocations as $rp) { @@ -734,7 +734,7 @@ class ExperimentUtilities $dataRoot = Config::get("pga_config.airavata")["experiment-data-absolute-path"]; if(!ExperimentUtilities::endsWith($dataRoot, "/")) $dataRoot = $dataRoot . "/"; - if(strpos($output->value, "airavata-dp") == 0){ + if(strpos($output->value, "airavata-dp") === 0){ $dataProductModel = Airavata::getDataProduct(Session::get('authz-token'), $output->value); $currentOutputPath = ""; foreach ($dataProductModel->replicaLocations as $rp) {