summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 504ade424..b577f7415 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -676,8 +676,7 @@ sub update {
if (defined $cgi->param('delta_ts')
&& $cgi->param('delta_ts') ne $attachment->modification_time)
{
- ($vars->{'operations'}) =
- Bugzilla::Bug::GetBugActivity($bug->id, $attachment->id, $cgi->param('delta_ts'));
+ ($vars->{'operations'}) = $bug->get_activity($attachment->id, $cgi->param('delta_ts'));
# The token contains the old modification_time. We need a new one.
$cgi->param('token', issue_hash_token([$attachment->id, $attachment->modification_time]));