diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-26 23:28:36 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-26 23:28:36 +0000 |
commit | e1eff3c5868c7460b17088b2e06166f21e0102a1 (patch) | |
tree | 91da702f182806c83973207a045cab5a06b5ba70 /lib/class/tag.class.php | |
parent | 11767cda35f8c256d52b7952e08d9ea2fdce3b45 (diff) | |
download | ampache-e1eff3c5868c7460b17088b2e06166f21e0102a1.tar.gz ampache-e1eff3c5868c7460b17088b2e06166f21e0102a1.tar.bz2 ampache-e1eff3c5868c7460b17088b2e06166f21e0102a1.zip |
fix the two remaining identified tag issues from #475
Diffstat (limited to 'lib/class/tag.class.php')
-rw-r--r-- | lib/class/tag.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/tag.class.php b/lib/class/tag.class.php index c6dcf13d..89fbe573 100644 --- a/lib/class/tag.class.php +++ b/lib/class/tag.class.php @@ -380,7 +380,7 @@ class Tag extends database_object { if (!self::validate_type($type)) { return array(); } - $tag_id = Dba::escape($id); + $tag_id = Dba::escape($tag_id); $sql = "SELECT DISTINCT `tag_map`.`object_id` FROM `tag_map` " . "WHERE `tag_map`.`tag_id`='$tag_id' AND `tag_map`.`object_type`='$type'"; |