summaryrefslogtreecommitdiff
path: root/rt/share/html/Ticket/Elements/BulkLinks
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Ticket/Elements/BulkLinks')
-rwxr-xr-xrt/share/html/Ticket/Elements/BulkLinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/share/html/Ticket/Elements/BulkLinks b/rt/share/html/Ticket/Elements/BulkLinks
index 7f87cef..d04eba4 100755
--- a/rt/share/html/Ticket/Elements/BulkLinks
+++ b/rt/share/html/Ticket/Elements/BulkLinks
@@ -163,7 +163,7 @@ $Tickets => undef
<%INIT>
my %hash;
if ( $Tickets && $Tickets->Count ) {
- my $first_ticket = $Tickets->Next;
+ my $first_ticket = $Tickets->Next or last; #avoid errors on bulk delete
# we only show current links that eixst on all the tickets
for my $type ( qw/DependsOn DependedOnBy Members MemberOf RefersTo
ReferredToBy/ ) {