[Rt-commit] r18143 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Feb 3 05:17:00 EST 2009


Author: sunnavy
Date: Tue Feb  3 05:16:59 2009
New Revision: 18143

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/lib/RT/Interface/Web.pm

Log:
 r19466 at sunnavys-mb:  sunnavy | 2009-02-03 18:16:06 +0800
 case fixes


Modified: rt/3.999/branches/merge_to_3.8.2/lib/RT/Interface/Web.pm
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/lib/RT/Interface/Web.pm	(original)
+++ rt/3.999/branches/merge_to_3.8.2/lib/RT/Interface/Web.pm	Tue Feb  3 05:16:59 2009
@@ -313,7 +313,7 @@
     return $content unless $sigonly;
 
     # Find the signature
-    my $sig = $args{'current_user'}->user_object->Signature || '';
+    my $sig = $args{'current_user'}->user_object->signature || '';
     $sig =~ s/^\s+//;
     $sig =~ s/\s+$//;
 
@@ -321,7 +321,7 @@
     return '' if not $html and $content =~ /^\s*(--)?\s*\Q$sig\E\s*$/;
 
     # Check for html-formatted sig
-    RT::Interface::Web::EscapeUTF8( \$sig );
+    RT::Interface::Web::escape_utf8( \$sig );
     return ''
       if $html
           and $content =~
@@ -717,7 +717,7 @@
 
 =head2 make_mime_entity PARAMHASH
 
-Takes a paramhash subject, Body and AttachmentFieldname.
+Takes a paramhash subject, body and attachment_field_name.
 
 Also takes Form, cc and type as optional paramhash keys.
 
@@ -732,7 +732,7 @@
         from                => undef,
         cc                  => undef,
         body                => undef,
-        AttachmentFieldname => undef,
+        attachment_field_name => undef,
         type                => undef,
         @_,
     );
@@ -759,11 +759,11 @@
         );
     }
 
-    if ( $args{'AttachmentFieldname'} ) {
+    if ( $args{'attachment_field_name'} ) {
 
         my $cgi_object = Jifty->handler->cgi;
 
-        if ( my $filehandle = $cgi_object->upload( $args{'AttachmentFieldname'} ) ) {
+        if ( my $filehandle = $cgi_object->upload( $args{'attachment_field_name'} ) ) {
 
             my ( @content, $buffer );
             while ( my $bytesread = read( $filehandle, $buffer, 4096 ) ) {


More information about the Rt-commit mailing list