]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
bump version to 20180529.2
authorDylan William Hardison <dylan@hardison.net>
Tue, 29 May 2018 20:41:18 +0000 (13:41 -0700)
committerGitHub <noreply@github.com>
Tue, 29 May 2018 20:41:18 +0000 (13:41 -0700)
Bugzilla.pm
scripts/undo.pl

index 5928e2e3f115bc3b2cc769057d82f345c45f0441..6cffa66a1b18af4b8bcdd7317f6106c6b4bc7eb8 100644 (file)
@@ -22,7 +22,7 @@ BEGIN {
     }
 }
 
-our $VERSION = '20180529.1';
+our $VERSION = '20180529.2';
 
 use Bugzilla::Auth;
 use Bugzilla::Auth::Persist::Cookie;
index 5de3104fa09e75edcca2619add62dce4099db1fb..24d6f594b263fc30f5a361e313977f40defb062f 100644 (file)
@@ -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;