From 8b5ccd302bd1497de721a25e4ce086bebf95173f Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sun, 08 Jun 2008 15:32:42 -0400 Subject: [PATCH] Fixed a problem with the logout when the php session has ended. --- interface/web/dns/form/dns_soa.tform.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index cf5f0d1..be0a123 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -107,7 +107,8 @@ 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'mbox_error_empty'), - 1 => array ( 'type' => 'ISEMAIL', + 0 => array ( 'type' => 'REGEX', + 'regex' => '/^[\w\.\-]{0,64}$/', 'errmsg'=> 'mbox_error_regex'), ), 'default' => '', @@ -201,7 +202,7 @@ 'class' => 'plugin_listview', 'options' => array( 'listdef' => 'list/dns_a.list.php', - 'sqlextwhere' => "zone = ".intval($_REQUEST['id']), + 'sqlextwhere' => "zone = ".@intval(@$_REQUEST['id']), 'sql_order_by' => "ORDER BY type, name" ) ) -- Gitblit v1.9.1