]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 273665: Viewing 'My Votes' page should not crash due to lack of SQL...
authorjocuri%softhome.net <>
Sun, 26 Dec 2004 03:24:32 +0000 (03:24 +0000)
committerjocuri%softhome.net <>
Sun, 26 Dec 2004 03:24:32 +0000 (03:24 +0000)
votes.cgi

index f2590b3244a681cbfdbf03e8b69ab03b794ca048..4c821069094f3f780c7c00a8827b96372a8e84f4 100755 (executable)
--- a/votes.cgi
+++ b/votes.cgi
@@ -132,7 +132,7 @@ sub show_user {
     
     SendSQL("LOCK TABLES bugs READ, products READ, votes WRITE,
              cc READ, bug_group_map READ, user_group_map READ,
-             cc AS selectVisible_cc READ");
+             cc AS selectVisible_cc READ, groups READ");
     
     if ($canedit && $bug_id) {
         # Make sure there is an entry for this bug