You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/07/09 18:50:21 UTC

airavata-php-gateway git commit: fixing status-type not set issue

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 <sc...@apache.org>
Authored: Thu Jul 9 22:19:56 2015 +0530
Committer: Supun Nakandala <sc...@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>';