[Rt-commit] r18768 - in rt/3.8/trunk: .
falcone at bestpractical.com
falcone at bestpractical.com
Wed Mar 11 16:00:27 EDT 2009
Author: falcone
Date: Wed Mar 11 16:00:23 2009
New Revision: 18768
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/ObjectCustomFieldValue_Overlay.pm
Log:
r45579 at ketch: falcone | 2009-03-11 14:47:25 -0400
* clean up a warning when you have empty OCFVs
Modified: rt/3.8/trunk/lib/RT/ObjectCustomFieldValue_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/ObjectCustomFieldValue_Overlay.pm (original)
+++ rt/3.8/trunk/lib/RT/ObjectCustomFieldValue_Overlay.pm Wed Mar 11 16:00:23 2009
@@ -159,7 +159,7 @@
sub Content {
my $self = shift;
my $content = $self->SUPER::Content;
- if ( !(defined $content && length $content) && $self->ContentType eq 'text/plain' ) {
+ if ( !(defined $content && length $content) && $self->ContentType && $self->ContentType eq 'text/plain' ) {
return $self->LargeContent;
} else {
return $content;
More information about the Rt-commit
mailing list