diff options
author | gerv%gerv.net <> | 2002-07-25 08:38:50 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-07-25 08:38:50 +0200 |
commit | 689a307bc2aa88d26d8aa59606c1a7f97b0e1e45 (patch) | |
tree | 6f1865adc1863cdaef81c8f2eee7344ab040c380 | |
parent | 0e3c836ce8de548bec6550f27b49f5c8fbcbc6e2 (diff) | |
download | bugzilla-689a307bc2aa88d26d8aa59606c1a7f97b0e1e45.tar.gz bugzilla-689a307bc2aa88d26d8aa59606c1a7f97b0e1e45.tar.xz |
Bug 67950c - make quips.cgi compile without warnings, by use vars-ing $userid. Patch by gerv.
-rwxr-xr-x | quips.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,6 +27,7 @@ use strict; use vars qw( %FORM + $userid $template $vars ); @@ -68,7 +69,7 @@ if ($action eq "add") { exit(); } - SendSQL("INSERT INTO quips (userid, quip) VALUES (". $::userid . ", " . SqlQuote($comment) . ")"); + SendSQL("INSERT INTO quips (userid, quip) VALUES (". $userid . ", " . SqlQuote($comment) . ")"); $vars->{'added_quip'} = $comment; } |