From 189745025f40d0cf2594c5262aac6959f5bbbddd Mon Sep 17 00:00:00 2001 From: structix Date: Sun, 30 Jun 2019 18:37:18 +0200 Subject: [PATCH] lul --- 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 60551be..9e0133d 100644 --- a/cgi-bin/uebung08/hangman_lib.php +++ b/cgi-bin/uebung08/hangman_lib.php @@ -42,7 +42,7 @@ function maskWord($word) { function getAllWords() { $str = file_get_contents("words-array.php"); echo "lalala " . $str; - $parsed = json_decode($str, true); + $parsed = json_decode($str, false); echo "lala2: " . $parsed; }