
sunnavy at bestpractical
Oct 29, 2009, 6:50 PM
Post #1 of 1
(202 views)
Permalink
|
|
rt branch, 3.8-trunk, updated. rt-3.8.6-56-g066464c
|
|
The branch, 3.8-trunk has been updated via 066464c1eec2e5231173b75e26c2c7ce42e1d1c5 (commit) from 93345dec507c2fd3d529c0b008793df18d6b3b8d (commit) Summary of changes: share/html/Ticket/Elements/BulkLinks | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) - Log ----------------------------------------------------------------- commit 066464c1eec2e5231173b75e26c2c7ce42e1d1c5 Author: sunnavy <sunnavy[at]bestpractical.com> Date: Fri Oct 30 09:25:57 2009 +0800 tweak BulkLinks a bit diff --git a/share/html/Ticket/Elements/BulkLinks b/share/html/Ticket/Elements/BulkLinks index 0205766..7f87cef 100755 --- a/share/html/Ticket/Elements/BulkLinks +++ b/share/html/Ticket/Elements/BulkLinks @@ -179,7 +179,8 @@ if ( $Tickets && $Tickets->Count ) { ReferredToBy/ ) { my $target_or_base = $type =~ /DependsOn|MemberOf|RefersTo/ ? 'Target' : 'Base'; - next unless $hash{$type}; + # if $hash{$type} is empty, no need to check any more + next unless $hash{$type} && keys %{$hash{$type}}; my %exists; while ( my $link = $ticket->$type->Next ) { $exists{$link->$target_or_base}++; ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit[at]lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|