[Rt-commit] rt branch, 4.4/fix-deserialize-recently-viewed-tickets, repushed
Craig Kaiser
craig at bestpractical.com
Mon Nov 5 09:56:47 EST 2018
The branch 4.4/fix-deserialize-recently-viewed-tickets was deleted and repushed:
was 16a71b6b82c1bb79122b6aa5ea5dea5b78c19cdc
now 33ae945f2d86194f2e6549e435fe099970492eee
1: 16a71b6b8 ! 1: 33ae945f2 Load Content rather than Attribute object for RecentlyViewedTickets
@@ -39,11 +39,13 @@
my @recentTickets;
- my $content = $self->FirstAttribute('RecentlyViewedTickets');
+- $content = $content ? $content->Content : [];
+ my $attribute = $self->FirstAttribute('RecentlyViewedTickets');
+ my $content;
+
+ $content = $attribute->Content if $attribute;
+
- $content = $content ? $content->Content : [];
++ $content = $content ? $content : ();
if (defined $content) {
@recentTickets = @$content;
+ }
More information about the rt-commit
mailing list