summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-26 04:32:08 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-26 04:32:08 +0000
commit97c78343ae899e59226ecbeb88dc4805b5ddc751 (patch)
tree500c4e90ddfe0c245cb7b30050d59fa1de6488e8 /bin
parent00417ad9658bd68f347f45e1ef8c5327fed95648 (diff)
downloadampache-97c78343ae899e59226ecbeb88dc4805b5ddc751.tar.gz
ampache-97c78343ae899e59226ecbeb88dc4805b5ddc751.tar.bz2
ampache-97c78343ae899e59226ecbeb88dc4805b5ddc751.zip
two file pattern fixes and some more work on the flagged stuff as well as some minor cleanup on the album art links
Diffstat (limited to 'bin')
-rw-r--r--bin/print_tags.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/print_tags.inc b/bin/print_tags.inc
index 63c19303..67c56ebb 100644
--- a/bin/print_tags.inc
+++ b/bin/print_tags.inc
@@ -33,7 +33,7 @@ else {
echo "Reading: $filename\n";
/* Attempt to figure out what catalog it comes from */
-$sql = "SELECT `catalog`.`id` FROM `song` INNER JOIN `catalog` ON `song`.`catalog`=`catalog`.`id` WHERE `song`.`file`='" . Dba::escape($filename) . "'";
+$sql = "SELECT `catalog`.`id` FROM `song` INNER JOIN `catalog` ON `song`.`catalog`=`catalog`.`id` WHERE `song`.`file`='%" . Dba::escape($filename) . "'";
$db_results = Dba::query($sql);
$results = Dba::fetch_assoc($db_results);