From a046bff7e8c6c35c31125253b576d203f3313386 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 02 Jan 2012 15:57:13 -0500 Subject: [PATCH] Fixed: FS#1947 - Unchecking all PHP options in Limits interface causes problem when client edits website --- interface/web/client/form/client.tform.php | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php index 7b64147..6e76992 100644 --- a/interface/web/client/form/client.tform.php +++ b/interface/web/client/form/client.tform.php @@ -604,6 +604,9 @@ 'web_php_options' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOXARRAY', + 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', + 'errmsg'=> 'web_php_options_notempty'), + ), 'default' => '', 'separator' => ',', 'valuelimit' => 'client:web_php_options', @@ -668,6 +671,9 @@ 'ssh_chroot' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOXARRAY', + 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', + 'errmsg'=> 'ssh_chroot_notempty'), + ), 'default' => '', 'separator' => ',', 'valuelimit' => 'client:ssh_chroot', -- Gitblit v1.9.1