diff --git a/vip-go-ci.php b/vip-go-ci.php index 790ab56b0..ea8c8fc3b 100755 --- a/vip-go-ci.php +++ b/vip-go-ci.php @@ -707,10 +707,12 @@ function vipgoci_run() { vipgoci_option_bool_handle( $options, 'post-generic-pr-support-comments', 'false' ); - $options['post-generic-pr-support-comments-string'] = - trim( - $options['post-generic-pr-support-comments-string'] - ); + if ( ! empty( $options['post-generic-pr-support-comments-string'] ) ) { + $options['post-generic-pr-support-comments-string'] = + trim( + $options['post-generic-pr-support-comments-string'] + ); + } vipgoci_option_array_handle( $options,