Repository: airavata-php-gateway Updated Branches: refs/heads/develop 9e44551c7 -> 27cea4fee
conditional to check optFileInputs set 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/27cea4fe Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/27cea4fe Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/27cea4fe Branch: refs/heads/develop Commit: 27cea4fee35af42e8811a5917473d08cf0f3c3fe Parents: 9e44551 Author: scnakandala <[email protected]> Authored: Thu Jul 7 11:05:14 2016 -0400 Committer: scnakandala <[email protected]> Committed: Thu Jul 7 11:05:14 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/27cea4fe/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 11c1dd3..bdedf21 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -428,7 +428,7 @@ class ExperimentUtilities $newExperimentInputs[] = $experimentInput; } - if($_FILES['optInputFiles']){ + if(isset($_FILES['optInputFiles'])){ $uriList = ""; for($i=0; $i < count($_FILES['optInputFiles']['name']); $i++){ if(!empty($_FILES['optInputFiles']['name'][$i])){
