summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-07-22 19:10:01 +0000
committerErmal <eri@pfsense.org>2010-07-22 19:10:01 +0000
commitd2ff48a06df5edbcd786994a77f28c7997974a0f (patch)
tree17fb2ee1c2a200ecc4727bccf92bc04bd859176e /usr/local
parent0b13e3f9fedb1350b12b2acc1330f8de97753796 (diff)
downloadpfsense-d2ff48a06df5edbcd786994a77f28c7997974a0f.zip
pfsense-d2ff48a06df5edbcd786994a77f28c7997974a0f.tar.gz
Use correct boolean values as the logic implies.
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/services_rfc2136_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_rfc2136_edit.php b/usr/local/www/services_rfc2136_edit.php
index 97f8770..a7d9e7b 100644
--- a/usr/local/www/services_rfc2136_edit.php
+++ b/usr/local/www/services_rfc2136_edit.php
@@ -81,7 +81,7 @@ if ($_POST) {
if (!$input_errors) {
$rfc2136 = array();
- $rfc2136['enable'] = $_POST['enable'] ? false : true;
+ $rfc2136['enable'] = $_POST['enable'] ? true : false;
$rfc2136['host'] = $_POST['host'];
$rfc2136['ttl'] = $_POST['ttl'];
$rfc2136['keyname'] = $_POST['keyname'];
OpenPOWER on IntegriCloud