stop sanitising tagvals on select: now sanitised on input
authorIan Beckwith <ianb@erislabs.net>
Sun, 26 Sep 2010 07:11:09 +0000 (08:11 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sun, 26 Sep 2010 07:11:09 +0000 (08:11 +0100)
lib/ID3FS/DB.pm

index 99c4820..93f1de7 100644 (file)
@@ -175,8 +175,6 @@ sub tag_values
             "WHERE tags_x_tagvals.tags_id=?");
     my $tags=$self->cmd_rows($sql, $tagid);
     my @tags=map { $_->[0]; } @$tags;
-    # FIXME: handle when indexing, not here
-    @tags=map { s/[^[:print:]]//g; $_; } @tags;
     @tags=map { length($_) ? $_ : "NOVALUE"; } @tags;
     return @tags;
 }