projects
/
id3fs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8164124
)
PathElement::Tag: use parents_id when looking up tag
author
Ian Beckwith
<ianb@erislabs.net>
Sun, 17 Oct 2010 06:18:21 +0000
(07:18 +0100)
committer
Ian Beckwith
<ianb@erislabs.net>
Sun, 17 Oct 2010 06:18:21 +0000
(07:18 +0100)
lib/ID3FS/PathElement/Tag.pm
patch
|
blob
|
history
diff --git
a/lib/ID3FS/PathElement/Tag.pm
b/lib/ID3FS/PathElement/Tag.pm
index
ad68f06
..
19c3378
100644
(file)
--- a/
lib/ID3FS/PathElement/Tag.pm
+++ b/
lib/ID3FS/PathElement/Tag.pm
@@
-13,7
+13,7
@@
sub new
$self->{db}=shift;
$self->{name}=shift;
$self->{parents_id}=shift;
- $self->{id}=$self->{db}->lookup_id("tags", $self->{name});
+ $self->{id}=$self->{db}->lookup_id("tags", $self->{name}
, $self->{parents_id}
);
return(undef) unless(defined($self->{id}));
return($self);
}