[gnome-web-www] Remove additional if condition



commit be22c3f686f400782056456cf96150edb9da0740
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Jun 5 13:44:32 2019 +0200

    Remove additional if condition

 theme/page-apply.php | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index 5feb006..37f27ac 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -87,16 +87,12 @@ if (array_key_exists('submit', $_POST)) {
         <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 else: ?>
-        <?php if ($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: ?>
+        <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>
     
 <hr class="top_shadow" />
 
 <h2 style="text-align: center;">Application Form</h2>
 
-<?php if ($errors) echo "Some of required fields in the form are missing. Please fill them and submit 
again."; ?>
-
 <form action="" method="post" id="application_form">
 
   <script>


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