From bf3665f50d518aee6219b5f4143df01882661f0b Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 29 May 2018 13:41:18 -0700 Subject: bump version to 20180529.2 --- Bugzilla.pm | 2 +- scripts/undo.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Bugzilla.pm b/Bugzilla.pm index 5928e2e3f..6cffa66a1 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -22,7 +22,7 @@ BEGIN { } } -our $VERSION = '20180529.1'; +our $VERSION = '20180529.2'; use Bugzilla::Auth; use Bugzilla::Auth::Persist::Cookie; diff --git a/scripts/undo.pl b/scripts/undo.pl index 5de3104fa..24d6f594b 100644 --- a/scripts/undo.pl +++ b/scripts/undo.pl @@ -114,10 +114,10 @@ sub undo { my $del_comments = $dbh->prepare('DELETE FROM longdescs WHERE comment_id = ?'); my $del_activity = $dbh->prepare('DELETE FROM bugs_activity WHERE id = ?'); foreach my $comment (@{ $action->{remove_comments}}) { - $del_comments->execute($comment->{id}) or die "failed to delete comment $c->{id}"; + $del_comments->execute($comment->{id}) or die "failed to delete comment $comment->{id}"; } foreach my $activity (@{ $action->{remove_activities}}) { - $del_activity->execute($activity->{id}) or die "failed to delete comment $a->{id}"; + $del_activity->execute($activity->{id}) or die "failed to delete comment $activity->{id}"; } tag_for_recount_from_bug($bug_id); $dbh->bz_commit_transaction; -- cgit v1.2.3-24-g4f1b