summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index bbf191d..7c2fe33 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -821,9 +821,10 @@ sub station {
} $status->results;
$status = {
station_eva => $status->station->{eva},
- station_name =>
- List::Util::reduce { length($a) < length($b) ? $a : $b }
- @{ $status->station->{names} },
+ station_name => (
+ List::Util::reduce { length($a) < length($b) ? $a : $b }
+ @{ $status->station->{names} }
+ ),
related_stations => [],
};
}