Path tweaks
authorIan Beckwith <ianb@erislabs.net>
Tue, 19 Oct 2010 16:05:15 +0000 (17:05 +0100)
committerIan Beckwith <ianb@erislabs.net>
Tue, 19 Oct 2010 16:05:15 +0000 (17:05 +0100)
lib/ID3FS/Path.pm

index 86d469d..b2cd2ec 100644 (file)
@@ -101,7 +101,7 @@ sub dirents
     {
        my $tail=$self->tail();
        if($state==$STATE_TAG && $self->is($TYPE_TAG, $tail) &&
-          $self->{db}->tag_has_values($self->tail()->id()))
+          $self->{db}->tag_has_values($tail->id()))
        {
            @dents=$self->tags();
        }