aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'show_activity.cgi')
-rwxr-xr-xshow_activity.cgi11
1 files changed, 6 insertions, 5 deletions
diff --git a/show_activity.cgi b/show_activity.cgi
index 7df10fcb8..fefd68b8a 100755
--- a/show_activity.cgi
+++ b/show_activity.cgi
@@ -16,20 +16,20 @@ use Bugzilla;
use Bugzilla::Error;
use Bugzilla::Bug;
-my $cgi = Bugzilla->cgi;
+my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
-my $vars = {};
+my $vars = {};
###############################################################################
# Begin Data/Security Validation
###############################################################################
-# Check whether or not the user is currently logged in.
+# Check whether or not the user is currently logged in.
Bugzilla->login();
# Make sure the bug ID is a positive integer representing an existing
# bug that the user is authorized to access.
-my $id = $cgi->param('id');
+my $id = $cgi->param('id');
my $bug = Bugzilla::Bug->check($id);
###############################################################################
@@ -40,7 +40,8 @@ my $bug = Bugzilla::Bug->check($id);
# visible immediately due to replication lag.
Bugzilla->switch_to_shadow_db;
-($vars->{'operations'}, $vars->{'incomplete_data'}) = $bug->get_activity(undef, undef, 1);
+($vars->{'operations'}, $vars->{'incomplete_data'})
+ = $bug->get_activity(undef, undef, 1);
$vars->{'bug'} = $bug;