diff options
author | jocuri%softhome.net <> | 2004-02-27 19:13:55 +0000 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-02-27 19:13:55 +0000 |
commit | 6161333bca22fc8d6d448fd1fd5bd595bebb57ac (patch) | |
tree | d868c0b7be39bf10709a1fca39de918a7b1ae3cf /show_activity.cgi | |
parent | Patch for bug 235287: improve a whineatnews.pl comment; r=timeless; a=justdave. (diff) | |
download | bugzilla-6161333bca22fc8d6d448fd1fd5bd595bebb57ac.tar.gz bugzilla-6161333bca22fc8d6d448fd1fd5bd595bebb57ac.tar.bz2 bugzilla-6161333bca22fc8d6d448fd1fd5bd595bebb57ac.zip |
Patch for bug 235268: Convert show_activity.cgi to get rid of %FORM; r=jouni; a=justdave.
Diffstat (limited to 'show_activity.cgi')
-rwxr-xr-x | show_activity.cgi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/show_activity.cgi b/show_activity.cgi index 8c636ea0b..e1697255b 100755 --- a/show_activity.cgi +++ b/show_activity.cgi @@ -28,6 +28,7 @@ use lib qw(.); use vars qw ($template $vars); require "CGI.pl"; +my $cgi = Bugzilla->cgi; ConnectToDatabase(); @@ -40,16 +41,17 @@ quietly_check_login(); # Make sure the bug ID is a positive integer representing an existing # bug that the user is authorized to access. -ValidateBugID($::FORM{'id'}); +my $bug_id = $cgi->param('id'); +ValidateBugID($bug_id); ############################################################################### # End Data/Security Validation ############################################################################### ($vars->{'operations'}, $vars->{'incomplete_data'}) = - GetBugActivity($::FORM{'id'}); + GetBugActivity($bug_id); -$vars->{'bug_id'} = $::FORM{'id'}; +$vars->{'bug_id'} = $bug_id; print Bugzilla->cgi->header(); |