From 67e21b0e2bc1a961fb99b0e8ff611ef9214a8b36 Mon Sep 17 00:00:00 2001 From: scyrma Date: Fri, 25 Jan 2008 02:43:52 +0000 Subject: [PATCH] MDL-12565 : use the right table --- tag/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag/lib.php b/tag/lib.php index 788c49e25a..272e158f08 100644 --- a/tag/lib.php +++ b/tag/lib.php @@ -907,7 +907,7 @@ function tag_instance_table_cleanup() { FROM (SELECT sq2.* FROM {$CFG->prefix}tag_instance sq2 - LEFT JOIN {$CFG->prefix}{$type->itemtype} item + LEFT JOIN {$CFG->prefix}tag item ON sq2.itemid = item.id WHERE item.id IS NULL AND sq2.itemtype = '{$type->itemtype}') -- 2.39.5