id3fs-tag -V: per-dir summaries
[id3fs.git] / lib / ID3FS / AudioFile / Mp3.pm
index 8ec87ef..f060dc9 100644 (file)
@@ -207,7 +207,8 @@ sub delete_tags
 {
     my($self, $tags, $delvals)=@_;
     my $current=$self->tags();
-    my @current=split(/\s*,\s*/, $current);
+    my @current=();
+    @current=split(/\s*,\s*/, $current) if($current);
     my @tags=split(/\s*,\s*/, $tags);
     my %hash=();
     @hash{@current}=();