[gnome-web-www] Check only $errors, not submission state



commit 8f49811c0d7b583c31f4f1fd531906948e9d122b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Jun 6 13:29:34 2019 +0200

    Check only $errors, not submission state

 theme/page-apply.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index c8e882c..533e7ab 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -87,7 +87,7 @@ 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>
         <hr class="top_shadow" />
 
-    <?php if ($application_submitted == true && $errors == true): ?>
+    <?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>
         <hr class="top_shadow" />
     <?php endif; ?>


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