summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_rfc2136_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_rfc2136_edit.php')
-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 7700d00..df0ea47 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