[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-53-gd71fab1
From:       sunnavy () bestpractical ! com
Date:       2009-10-29 7:38:48
Message-ID: 20091029073854.12AB14D8040 () diesel ! bestpractical ! com
[Download RAW message or body]

The branch, 3.8-trunk has been updated
       via  d71fab11096ab703d966eda863e03ea4d56b379b (commit)
      from  86bfda78d2d9442e94f73e67789a77cbef41d5af (commit)

Summary of changes:
 lib/RT/Record.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit d71fab11096ab703d966eda863e03ea4d56b379b
Author: sunnavy <sunnavy@bestpractical.com>
Date:   Thu Oct 29 15:37:30 2009 +0800

    erase the leading space in FormatType

diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index 02dc6fd..e14f91f 100755
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -1228,6 +1228,7 @@ sub FormatType{
 		 @_
 	       );
     $args{Type} =~ s/([A-Z])/" " . lc $1/ge;
+    $args{Type} =~ s/^\s+//; # in case the first letter is A-Z
     return $args{Type};
 }
 

-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic