diff options
author | 2005-05-03 01:52:02 +0000 | |
---|---|---|
committer | 2005-05-03 01:52:02 +0000 | |
commit | 9d202f2d562c0cb8299c832158811f2131c73e27 (patch) | |
tree | 97f5a0406de60ca7da9fffe0fd1cd459c6c0a201 /post_bug.cgi | |
parent | Bug 274724: The 'Edit Attachment' link is now available even if a user does n... (diff) | |
download | bugzilla-9d202f2d562c0cb8299c832158811f2131c73e27.tar.gz bugzilla-9d202f2d562c0cb8299c832158811f2131c73e27.tar.bz2 bugzilla-9d202f2d562c0cb8299c832158811f2131c73e27.zip |
Bug 289043: Implicit joins should be replaced by explicit joins - installment C
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index 0233fad83..9bc87e593 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -288,7 +288,7 @@ if (UserInGroup("editbugs") && defined($cgi->param('dependson'))) { my @stack = @{$deps{$target}}; while (@stack) { my $i = shift @stack; - SendSQL("select $target from dependencies where $me = " . + SendSQL("SELECT $target FROM dependencies WHERE $me = " . SqlQuote($i)); while (MoreSQLData()) { my $t = FetchOneColumn(); @@ -439,7 +439,7 @@ if (Param("insidergroup") && UserInGroup(Param("insidergroup"))) { } SendSQL("INSERT INTO longdescs (bug_id, who, bug_when, thetext, isprivate) - VALUES ($id, " . SqlQuote($user->id) . ", $sql_timestamp, " .
+ VALUES ($id, " . SqlQuote($user->id) . ", $sql_timestamp, " . SqlQuote($comment) . ", $privacy)"); # Insert the cclist into the database |