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 status-type not set issue
Date Thu, 09 Jul 2015 16:50:21 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master d5781e0a7 -> db121ac32


fixing status-type not set 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/db121ac3
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/db121ac3
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/db121ac3

Branch: refs/heads/master
Commit: db121ac32df5bd62b20bb30a07d4f9c74fff0aa8
Parents: d5781e0
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Thu Jul 9 22:19:56 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Thu Jul 9 22:19:56 2015 +0530

----------------------------------------------------------------------
 app/views/experiment/browse.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/db121ac3/app/views/experiment/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/experiment/browse.blade.php b/app/views/experiment/browse.blade.php
index 5aee7e1..6d32a18 100755
--- a/app/views/experiment/browse.blade.php
+++ b/app/views/experiment/browse.blade.php
@@ -41,7 +41,7 @@
                     <option value="ALL">Status</option>
                     <?php
                     foreach ($expStates as $index => $state) {
-                        if (isset($input) && $state == $input["status-type"]) {
+                        if (isset($input) && isset($input["status-type"]) &&
$state == $input["status-type"]) {
                             echo '<option value="' . $state . '" selected>' . $state
. '</option>';
                         } else {
                             echo '<option value="' . $state . '">' . $state . '</option>';


Mime
View raw message