aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CatDap/Controller/admin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CatDap/Controller/admin.pm')
-rw-r--r--lib/CatDap/Controller/admin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CatDap/Controller/admin.pm b/lib/CatDap/Controller/admin.pm
index fd74650..de0c76a 100644
--- a/lib/CatDap/Controller/admin.pm
+++ b/lib/CatDap/Controller/admin.pm
@@ -620,7 +620,7 @@ sub group_modify : Local {
my @entries;
my $mesg;
$c->detach('/admin/group') if $group eq '';
- if ( $group !~ /^[\w\d ]*$/ ) {
+ if ( $group !~ /^[\w\d- ]*$/ ) {
push @errors, $c->loc('Group contains illegal characters');
$c->detach('/admin/group');
}