projects
/
id3fs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
id3fs-tag -V: per-dir summaries
[id3fs.git]
/
lib
/
ID3FS
/
AudioFile
/
Mp3.pm
diff --git
a/lib/ID3FS/AudioFile/Mp3.pm
b/lib/ID3FS/AudioFile/Mp3.pm
index
8ec87ef
..
f060dc9
100644
(file)
--- a/
lib/ID3FS/AudioFile/Mp3.pm
+++ b/
lib/ID3FS/AudioFile/Mp3.pm
@@
-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}=();