rt 4.2.13 ticket#13852
[freeside.git] / rt / share / html / Elements / ShowLinksOfType
index 1bb485e..a299917 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -91,7 +91,7 @@ while (my $link = $links->Next) {
     my $ToObj = $link->$ModeObj;
     if ($ToObj and $ToObj->isa('RT::Ticket')) {
         next if $Type eq "ReferredToBy"
-            and $ToObj->Type eq 'reminder';
+            and $ToObj->__Value('Type') eq 'reminder';
 
         if ( $ToObj->QueueObj->IsInactiveStatus( $ToObj->Status ) ) {
             push @inactive, $link;