summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-07-16 13:55:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-07-16 13:55:36 +0200
commitff290c78e01656e3991e13f4da614e4fab24da29 (patch)
treecee694a2a93ce77c794202708ec3ce40d3bcae0d /lib/Travelynx/Controller
parent74123bbcc0aedb3e7dbc49a33fcba6a864b7e550 (diff)
services: add marudor.de/regional
Diffstat (limited to 'lib/Travelynx/Controller')
-rw-r--r--lib/Travelynx/Controller/Account.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm
index f4f05d9..74e3367 100644
--- a/lib/Travelynx/Controller/Account.pm
+++ b/lib/Travelynx/Controller/Account.pm
@@ -382,7 +382,7 @@ sub services {
if ( $self->param('action') and $self->param('action') eq 'save' ) {
my $sb = $self->param('stationboard');
my $value = 0;
- if ( $sb =~ m{ ^ \d+ $ }x and $sb >= 0 and $sb <= 3 ) {
+ if ( $sb =~ m{ ^ \d+ $ }x and $sb >= 0 and $sb <= 4 ) {
$value = int($sb);
}
$self->users->use_external_services(