really fix phantom customers, really RT#13852
authorIvan Kohler <ivan@freeside.biz>
Sun, 15 Jul 2012 06:19:17 +0000 (23:19 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 15 Jul 2012 06:19:17 +0000 (23:19 -0700)
rt/lib/RT/Ticket.pm

index 6ba6c5b..00f88b6 100755 (executable)
@@ -2447,13 +2447,13 @@ sub _Links {
     # at least to myself
     $links->Limit(
         FIELD           => $field, #$limit_on,
-        OPERATOR        => 'LIKE',
+        OPERATOR        => 'MATCHES',
         VALUE           => 'fsck.com-rt://%/ticket/'. $self->id,
         ENTRYAGGREGATOR => 'OR',
     );
     $links->Limit(
         FIELD           => $field, #$limit_on,
-        OPERATOR        => 'LIKE',
+        OPERATOR        => 'MATCHES',
         VALUE           => 'fsck.com-rt://%/ticket/'. $_,
         ENTRYAGGREGATOR => 'OR',
     ) foreach $self->Merged;