[Bps-public-commit] RT-Extension-ExtractCustomFieldValues branch, master, updated. 3.13-5-gc0dc60a

? sunnavy sunnavy at bestpractical.com
Tue Nov 3 11:45:29 EST 2015


The branch, master has been updated
       via  c0dc60a2662a4d5d9d0dec55864cf1da739846b5 (commit)
      from  01eee0e6d02221c9581037924f9bed30de558020 (commit)

Summary of changes:
 lib/RT/Action/ExtractCustomFieldValues.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit c0dc60a2662a4d5d9d0dec55864cf1da739846b5
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Nov 4 00:43:59 2015 +0800

    RT 4.0 still allows perl <5.10 :/

diff --git a/lib/RT/Action/ExtractCustomFieldValues.pm b/lib/RT/Action/ExtractCustomFieldValues.pm
index 0216694..47d4af4 100644
--- a/lib/RT/Action/ExtractCustomFieldValues.pm
+++ b/lib/RT/Action/ExtractCustomFieldValues.pm
@@ -233,9 +233,10 @@ sub ProcessCF {
             Value             => $value,
             RecordTransaction => $args{Options} =~ /q/ ? 0 : 1
         );
+        $msg = '' unless defined $msg;
         $RT::Logger->info( "CustomFieldValue ("
                 . $args{CustomField}->Name
-                . ",$value) added: $id" . ( $msg // '' ) );
+                . ",$value) added: $id $msg" );
     }
 }
 

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


More information about the Bps-public-commit mailing list