diff --git a/check.php b/check.php index da6e3f5..0d362b7 100644 --- a/check.php +++ b/check.php @@ -275,6 +275,6 @@ function game_check_common_problems_shortanswer_hangman( $game, &$warnings, $a) } if (count( $ret) != 0) { - $warnings[] = get_string( 'common_problems_shortanswer_hangman', 'game').': '.count($ret).' ('.implode( ', ', $ret); + $warnings[] = get_string( 'common_problems_shortanswer_hangman', 'game').': '.count($ret).' ('.implode( ', ', $ret).')'; } }