diff options
author | momo-i <momo-i@ampache> | 2008-09-02 14:19:35 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2008-09-02 14:19:35 +0000 |
commit | 039e1bf8c13232a1fb6330f20a8fa91d3c419689 (patch) | |
tree | ea6937d5832b159904a92b867dae4f98ac8856fa /lib/class | |
parent | 790f54a8251fcf0dcee578a0444f7996be592284 (diff) | |
download | ampache-039e1bf8c13232a1fb6330f20a8fa91d3c419689.tar.gz ampache-039e1bf8c13232a1fb6330f20a8fa91d3c419689.tar.bz2 ampache-039e1bf8c13232a1fb6330f20a8fa91d3c419689.zip |
Fixed my misunderstanding
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/catalog.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 3285ca64..a6b5136a 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -1502,7 +1502,7 @@ class Catalog { $db_results = Dba::query($sql); // Now nuke the tags themselves - $sql = "DELETE FROM `tag` USING `tag` LEFT JOIN `tag_map` ON `tag`.`map_id`=`tag_map`.`tag_id` " . + $sql = "DELETE FROM `tag` USING `tag` LEFT JOIN `tag_map` ON `tag`.`id`=`tag_map`.`tag_id` " . "WHERE `tag_map`.`id` IS NULL"; $db_results = Dba::query($sql); |