projects
/
id3fs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge duplicate id lookup functions
[id3fs.git]
/
lib
/
ID3FS
/
PathElement
/
Tag.pm
diff --git
a/lib/ID3FS/PathElement/Tag.pm
b/lib/ID3FS/PathElement/Tag.pm
index
3185955
..
ad68f06
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}->id("tags", $self->{name});
+ $self->{id}=$self->{db}->
lookup_
id("tags", $self->{name});
return(undef) unless(defined($self->{id}));
return($self);
}