[Rt-commit] rt branch, 4.0/consistent-result-msg-quotes, updated. rt-4.0.0-183-gfb209b4

Thomas Sibley trs at bestpractical.com
Fri May 6 16:50:38 EDT 2011


The branch, 4.0/consistent-result-msg-quotes has been updated
       via  fb209b424b369c464443db33f30e590ef4c4be3f (commit)
      from  9b40256046ee474a6a8d4d33d707d9d4e009d675 (commit)

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

- Log -----------------------------------------------------------------
commit fb209b424b369c464443db33f30e590ef4c4be3f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri May 6 16:49:48 2011 -0400

    Actually interpolate correctly

diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index ae12aca..a2fb1e3 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -495,7 +495,7 @@ sub _Set {
           $self->loc(
             "[_1] changed from [_2] to [_3]",
             $self->loc( $args{'Field'} ),
-            ( $old_val ? '"$old_val"' : $self->loc("(no value)") ),
+            ( $old_val ? '"' . $old_val . '"' : $self->loc("(no value)") ),
             '"' . $self->__Value( $args{'Field'}) . '"' 
           );
       } else {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list