groups, validation issue, spaces are not allowed here

This commit is contained in:
Ad Schellevis 2018-06-06 09:33:48 +02:00
parent 49021d93e7
commit 901d63cee6

View File

@ -84,7 +84,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
do_input_validation($pconfig, $reqdfields, $reqdfieldsn, $input_errors);
if (preg_match("/[^a-zA-Z0-9\.\-_ ]/", $pconfig['name'])) {
if (preg_match("/[^a-zA-Z0-9\.\-_]/", $pconfig['name'])) {
$input_errors[] = gettext("The group name contains invalid characters.");
}