Skip to content

Commit

Permalink
Eliminate PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed Feb 27, 2020
1 parent ec05e80 commit 2ec8a54
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions vip-go-ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ec8a54

Please sign in to comment.