X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FID3FS%2FPathElement%2FAlbum.pm;h=9826fd13e35b49adcfdcdc0ca9b582016588c418;hb=c59e7316fbc790c44b16d18c4870da80c34fb223;hp=46836aaeebb3a226ab8952f90fc71f6d0b5f153f;hpb=5b2547d90f42403c6b4148ee6f58315e8537f267;p=id3fs.git diff --git a/lib/ID3FS/PathElement/Album.pm b/lib/ID3FS/PathElement/Album.pm index 46836aa..9826fd1 100644 --- a/lib/ID3FS/PathElement/Album.pm +++ b/lib/ID3FS/PathElement/Album.pm @@ -12,7 +12,7 @@ sub new $self->{db}=shift; $self->{name}=shift; - $self->{id}=($self->{db}->id("albums", $self->{name})); + $self->{id}=($self->{db}->lookup_id("albums", $self->{name})); return(undef) unless(defined($self->{id})); return $self; }