Commit b541ff32 authored by Michael Seevogel's avatar Michael Seevogel

modified regex so that only 0-9999 days are allowed as values

parent 85a012bc
......@@ -922,13 +922,13 @@ if($_SESSION["s"]["user"]["typ"] == 'admin'
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^([0-9]{1,5})$/',
'regex' => '/^([0-9]{0,4})$/',
'errmsg'=> 'log_retention_error_regex'),
),
'default' => '30',
'value' => '',
'width' => '4',
'maxlength' => '6'
'maxlength' => '4'
)
//#################################
// ENDE Datatable fields
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment