[Rt-commit] r2926 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun May 22 18:38:50 EDT 2005


Author: jesse
Date: Sun May 22 18:38:49 2005
New Revision: 2926

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValue_Overlay.pm
   rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValues_Overlay.pm
Log:
 r17002 at hualien:  jesse | 2005-05-22 17:15:31 -0400
  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/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValue_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValue_Overlay.pm	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValue_Overlay.pm	Sun May 22 18:38:49 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/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValues_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValues_Overlay.pm	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/ObjectCustomFieldValues_Overlay.pm	Sun May 22 18:38:49 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