From 83cc8b0b6d4b3314739f34f250d8b80a6d6774bb Mon Sep 17 00:00:00 2001 From: Francesc Guasch Date: Mon, 20 Nov 2017 11:18:13 +0100 Subject: [PATCH] [#401] remove device data if removed Fixes #401 --- lib/Ravada/Front.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Ravada/Front.pm b/lib/Ravada/Front.pm index 7fe2523eb..141ec3fc6 100644 --- a/lib/Ravada/Front.pm +++ b/lib/Ravada/Front.pm @@ -301,6 +301,7 @@ sub list_iso_images { while (my $row = $sth->fetchrow_hashref) { push @iso,($row); + delete $row->{device} if !-e $row->{device}; next if $row->{device}; my ($file);