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 2016/08/18 16:13:08 UTC

airavata-php-gateway git commit: add condition to check emails are set

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 84b048257 -> c1043b29f


add condition to check emails are 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/c1043b29
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/c1043b29
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/c1043b29

Branch: refs/heads/develop
Commit: c1043b29fd6ee33b88a479ba83db298f3f135a39
Parents: 84b0482
Author: scnakandala <su...@gmail.com>
Authored: Thu Aug 18 12:13:06 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Thu Aug 18 12:13:06 2016 -0400

----------------------------------------------------------------------
 app/views/partials/experiment-info.blade.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/c1043b29/app/views/partials/experiment-info.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-info.blade.php b/app/views/partials/experiment-info.blade.php
index 6a55d4f..b418787 100644
--- a/app/views/partials/experiment-info.blade.php
+++ b/app/views/partials/experiment-info.blade.php
@@ -102,9 +102,11 @@
             <tr>
                 <td>Notifications Enabled for:</td>
                 <td>
-                    @foreach( $experiment->emailAddresses as $email)
-                        {{ $email}}<br/>
-                    @endforeach
+                    @if(isset($experiment->emailAddresses))
+                        @foreach( $experiment->emailAddresses as $email)
+                            {{ $email}}<br/>
+                        @endforeach
+                    @endif
                 </td>
             </tr>
         @endif