[Rt-commit] r2917 - in rt/branches/CHALDEA-EXPERIMENTAL: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun May 22 18:33:30 EDT 2005


Author: jesse
Date: Sun May 22 18:33:29 2005
New Revision: 2917

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValue_Overlay.pm
   rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValues_Overlay.pm
Log:
 r16993 at hualien:  jesse | 2005-05-22 17:00:24 -0400
  r16986 at hualien:  jesse | 2005-05-22 16:58:17 -0400
   r16510 at hualien:  jesse | 2005-05-12 12:44:00 -0400
   * Fix on the plane was wrong. sigh
  
 


Modified: rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValue_Overlay.pm
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValue_Overlay.pm	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValue_Overlay.pm	Sun May 22 18:33:29 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/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValues_Overlay.pm
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValues_Overlay.pm	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/ObjectCustomFieldValues_Overlay.pm	Sun May 22 18:33:29 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