[gnome-web-www] Checkboxes are empty if not checked, not false
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Checkboxes are empty if not checked, not false
- Date: Thu, 6 Jun 2019 11:54:07 +0000 (UTC)
commit 3b191cec8782fefb3a0071d70599bd8150a86400
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Jun 6 13:53:45 2019 +0200
Checkboxes are empty if not checked, not false
theme/page-apply.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index 533e7ab..30f039c 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -2,7 +2,7 @@
$full_name = $email = $ssh_key = "";
$summary = $references = $gnome_username = "";
-$gnome_mail_alias = "off";
+$gnome_mail_alias = "";
if (array_key_exists('submit', $_POST)) {
@@ -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 ($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]