Whoopsie
This commit is contained in:
parent
452229780e
commit
9a65aff125
|
@ -52,7 +52,7 @@ sub startup($self) {
|
||||||
|
|
||||||
$self->helper(is_mod => sub ($c) {
|
$self->helper(is_mod => sub ($c) {
|
||||||
if (my $mod_id = $c->session->{'mod_id'}) {
|
if (my $mod_id = $c->session->{'mod_id'}) {
|
||||||
return 1 if $mod_id =~ /\d/
|
return 1 if $mod_id =~ /\d+/
|
||||||
}
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user