diff options
author | gerv%gerv.net <> | 2002-07-25 06:38:50 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-07-25 06:38:50 +0000 |
commit | 689a307bc2aa88d26d8aa59606c1a7f97b0e1e45 (patch) | |
tree | 6f1865adc1863cdaef81c8f2eee7344ab040c380 /quips.cgi | |
parent | Bug 67950b - quick fixes. Patch by gerv. (diff) | |
download | bugzilla-689a307bc2aa88d26d8aa59606c1a7f97b0e1e45.tar.gz bugzilla-689a307bc2aa88d26d8aa59606c1a7f97b0e1e45.tar.bz2 bugzilla-689a307bc2aa88d26d8aa59606c1a7f97b0e1e45.zip |
Bug 67950c - make quips.cgi compile without warnings, by use vars-ing $userid. Patch by gerv.
Diffstat (limited to 'quips.cgi')
-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; } |