[Rt-commit] r2879 - in rt/branches/3.4-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Thu May 12 20:04:44 EDT 2005


Author: jesse
Date: Thu May 12 20:04:44 2005
New Revision: 2879

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm
   rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm
Log:
 r16510 at hualien:  jesse | 2005-05-12 17:44:00 +0100
 * Fix on the plane was wrong. sigh


Modified: rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm	Thu May 12 20:04:44 2005
@@ -157,11 +157,12 @@
 
 sub Content {
     my $self = shift;
-    my $content = $self->SUPER::Content();
+    my $content = $self->SUPER::Content;
     if (!$content && $self->ContentType eq 'text/plain') {
-       $content = $self->LargeContent(); 
+       return $self->LargeContent(); 
+    } else {
+        return $content;
     }
-    return($content);
 }
 
 

Modified: rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm	Thu May 12 20:04:44 2005
@@ -117,6 +117,8 @@
     my $self = shift;
     my $value = shift;
 
+    $RT::Logger->crit(" $self - looking for value $value"); 
+    
     #TODO: this could cache and optimize a fair bit.
     foreach my $item (@{$self->ItemsArrayRef}) {
         return(1) if ($item->Content eq $value);  


More information about the Rt-commit mailing list