diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-26 04:42:12 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-26 04:42:12 +0000 |
commit | 76f3e77c299854030398c23b0401505b6fca1007 (patch) | |
tree | b50487b005e5eef549c475a8655cb1b18def7197 /bin | |
parent | 97c78343ae899e59226ecbeb88dc4805b5ddc751 (diff) | |
download | ampache-76f3e77c299854030398c23b0401505b6fca1007.tar.gz ampache-76f3e77c299854030398c23b0401505b6fca1007.tar.bz2 ampache-76f3e77c299854030398c23b0401505b6fca1007.zip |
last commit for the day...
Diffstat (limited to 'bin')
-rw-r--r-- | bin/print_tags.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/print_tags.inc b/bin/print_tags.inc index 67c56ebb..610d57e6 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` LIKE '%" . Dba::escape($filename) . "'"; $db_results = Dba::query($sql); $results = Dba::fetch_assoc($db_results); |