From 9a30ecdaed450020a055c06a59b9859f0a4928a3 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 16 Feb 2014 02:25:03 -0500
Subject: [PATCH] Fixed: FS#2737 - Check xfer regex on dns slave zones and add the one of the primary zones Changed cron_daily.php to avoid some php notices.

---
 interface/web/dns/form/dns_slave.tform.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/interface/web/dns/form/dns_slave.tform.php b/interface/web/dns/form/dns_slave.tform.php
index 0e4eedd..a416aed 100644
--- a/interface/web/dns/form/dns_slave.tform.php
+++ b/interface/web/dns/form/dns_slave.tform.php
@@ -121,6 +121,11 @@
 		'xfer' => array (
 			'datatype'      => 'VARCHAR',
 			'formtype'      => 'TEXT',
+			'validators' => array (  0 => array ( 'type' => 'ISIP',
+					'allowempty' => 'y',
+					'separator' => ',',
+					'errmsg'=> 'xfer_error_regex'),
+			),
 			'default'       => '',
 			'value'         => '',
 			'width'         => '30',

--
Gitblit v1.9.1