[Rt-commit] rt branch, 4.4/fix-deserialize-recently-viewed-tickets, repushed
Craig Kaiser
craig at bestpractical.com
Mon Oct 29 16:52:47 EDT 2018
The branch 4.4/fix-deserialize-recently-viewed-tickets was deleted and repushed:
was 101663bd1bb095ff1da85b32d83ba69bfd97a11c
now 12ad6d48afb1c6a0902224adaa3c5c2d91e54a01
1: 101663bd1 ! 1: 12ad6d48a Check if attribute content exist not the attribute
@@ -10,7 +10,9 @@
sub RecentlyViewedTickets {
my $self = shift;
- my $content = $self->FirstAttribute('RecentlyViewedTickets');
+- return $content ? @{$content->Content} : ();
+ my $content = $self->FirstAttribute('RecentlyViewedTickets')->Content;
- return $content ? @{$content->Content} : ();
++ return $content ? @{$content} : ();
}
+ =head2 AddRecentlyViewedTicket TICKET
More information about the rt-commit
mailing list