summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Travelynx.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index ce2d739..f5fdb47 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -274,6 +274,7 @@ sub startup {
$journey_id
= $db->insert( 'journeys', $entry, { returning => 'id' } )
->hash->{id};
+ $self->invalidate_stats_cache( $opt{rt_departure}, $db );
};
if ($@) {