%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
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;