[Bps-public-commit] RT-Extension-ExtractCustomFieldValues branch, master, updated. 3.13-4-g01eee0e

? sunnavy sunnavy at bestpractical.com
Tue Nov 3 09:42:08 EST 2015


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

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

- Log -----------------------------------------------------------------
commit 01eee0e6d02221c9581037924f9bed30de558020
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 3 22:41:10 2015 +0800

    in case $msg is not defined
    
    which happens if the object already has the value that is to be added

diff --git a/lib/RT/Action/ExtractCustomFieldValues.pm b/lib/RT/Action/ExtractCustomFieldValues.pm
index db6731a..0216694 100644
--- a/lib/RT/Action/ExtractCustomFieldValues.pm
+++ b/lib/RT/Action/ExtractCustomFieldValues.pm
@@ -235,7 +235,7 @@ sub ProcessCF {
         );
         $RT::Logger->info( "CustomFieldValue ("
                 . $args{CustomField}->Name
-                . ",$value) added: $id $msg" );
+                . ",$value) added: $id" . ( $msg // '' ) );
     }
 }
 

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


More information about the Bps-public-commit mailing list