[gnome-web-www] Error should in separate if clause



commit e08c20ef29ff910a4903455c624e3610c902a695
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Jun 5 14:05:15 2019 +0200

    Error should in separate if clause

 theme/page-apply.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index f37eb4b..0afb577 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -84,8 +84,11 @@ if (array_key_exists('submit', $_POST)) {
         <h1 style="text-align: center">Thank you.</h1>
         <p class="main_feature" style="text-align: center;">Your application has been submitted and it'll be 
reviewed by the <br /> GNOME Foundation Membership Committee within two weeks.</p>
         <p style="text-align: center"> You can check the status of your application at the following <a 
href="http://www.gnome.org/rt3-stats/membership.html";>page</a>.</p>
-    <?php elseif ($application_submitted == true && $errors == true): ?>
+
+    <?php if ($application_submitted == true && $errors == true): ?>
         <p class="main_feature" style="text-align: center;">Some of required fields in the form are missing. 
Please fill them and submit it again.</p>
+    <?php endif; ?>
+
     <?php else: ?>
     
 <hr class="top_shadow" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]