summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-19 23:33:40 +0200
committerlpsolit%gmail.com <>2005-07-19 23:33:40 +0200
commit20e0d1f73fdaf8954941ce65d0a976d1c620e954 (patch)
tree032ee3afc2d8c1724dfdfa23870d7f5f157819f7 /Bugzilla
parent534173a0d5d06a945cd48da84815e4f003ebf727 (diff)
downloadbugzilla-20e0d1f73fdaf8954941ce65d0a976d1c620e954.tar.gz
bugzilla-20e0d1f73fdaf8954941ce65d0a976d1c620e954.tar.xz
Bug 300709: Avoid the use of SELECT * - Patch by Frédéric Buclin <LpSolit@gmail.com> r=glob a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 847319c18..494876b31 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1078,7 +1078,7 @@ sub wants_mail {
}
my $wants_mail =
- $dbh->selectrow_array("SELECT *
+ $dbh->selectrow_array("SELECT 1
FROM email_setting
WHERE user_id = $self->{'id'}
AND relationship = $relationship