From 10a1ba14979f92b37147122917705f4c9fc85901 Mon Sep 17 00:00:00 2001 From: structix Date: Sun, 30 Jun 2019 23:08:58 +0200 Subject: [PATCH] Fix transformword --- cgi-bin/uebung08/hangman_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/uebung08/hangman_lib.php b/cgi-bin/uebung08/hangman_lib.php index 4030a6e..9dbcdc7 100644 --- a/cgi-bin/uebung08/hangman_lib.php +++ b/cgi-bin/uebung08/hangman_lib.php @@ -42,7 +42,7 @@ function initGame() //session_name(get_current_user() . "hangman"); //session_start(); - $randword = getRandomWord(); + $randword = transformWord(getRandomWord()); $_SESSION['toGuess'] = $randword; $_SESSION['mask'] = maskWord($randword); $_SESSION['guessedLetters'] = [];