mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
groups, validation issue, spaces are not allowed here
This commit is contained in:
parent
49021d93e7
commit
901d63cee6
@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user