[Rt-commit] rt branch, 4.6/row-colors-by-condition, repushed
Craig Kaiser
craig at bestpractical.com
Mon Dec 31 16:26:53 EST 2018
The branch 4.6/row-colors-by-condition was deleted and repushed:
was 2751f88ee1631700ab11ec04f63ec6fed6526cd7
now 3c65d935f2045210fdcff3bcd369190a3864881e
1: 81390e43fa = 1: 81390e43fa Create ReplaceAttachments, ReplaceHeader and ReplaceContent Methods
2: 5bec6babae = 2: 5bec6babae Create rt-munge-attachments executable
3: 765817052e = 3: 765817052e Add tests for methods that munge the attachments table
4: 2751f88ee1 ! 4: 3c65d935f2 Inital commit
@@ -72,8 +72,10 @@
my $warning = 0;
my $Classes = '';
-+ my $row_coloring = $record->HighLightOnCondition();
-+ $Classes = join(' ', @{$row_coloring}) if $row_coloring;
++ if ( $record->can('HighLightOnCondition') ) {
++ my $row_coloring = $record->HighLightOnCondition();
++ $Classes = join(' ', @{$row_coloring}) if $row_coloring;
++ }
+
$m->callback(
CallbackName => 'EachRow',
More information about the rt-commit
mailing list