summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
authorStephanie Daugherty <sdaugherty@gmail.com>2011-08-29 23:30:15 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-29 23:30:15 +0200
commit2054799e43e2437b94f2d86981d21ec786d12a70 (patch)
tree87ceaf603e2ea66ebd16dd6b6092d542a0579f20 /Bugzilla/User.pm
parent9cfecf559d27fe2a29cd3e8d246e069fd30601a9 (diff)
downloadbugzilla-2054799e43e2437b94f2d86981d21ec786d12a70.tar.gz
bugzilla-2054799e43e2437b94f2d86981d21ec786d12a70.tar.xz
Bug 637648 - Rename the "tags" table to "tag"
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 3a3edcb5b..ea186a0fd 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -423,8 +423,8 @@ sub tags {
# in which case there are no bugs with this tag yet.
$self->{tags} = $dbh->selectall_hashref(
'SELECT name, id, COUNT(bug_id) AS bug_count
- FROM tags
- LEFT JOIN bug_tag ON bug_tag.tag_id = tags.id
+ FROM tag
+ LEFT JOIN bug_tag ON bug_tag.tag_id = tag.id
WHERE user_id = ? ' . $dbh->sql_group_by('id', 'name'),
'name', undef, $self->id);
}