summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/maintenance.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command/maintenance.pm')
-rw-r--r--lib/Travelynx/Command/maintenance.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/maintenance.pm b/lib/Travelynx/Command/maintenance.pm
index a70d42a..32a6231 100644
--- a/lib/Travelynx/Command/maintenance.pm
+++ b/lib/Travelynx/Command/maintenance.pm
@@ -148,7 +148,8 @@ sub run {
[ 'id', 'polyline_id' ],
{
route => $journey->{route},
- polyline_id => { '!=', undef }
+ polyline_id => { '!=', undef },
+ edited => 0,
},
{ limit => 1 }
)->hash;