Update
This commit is contained in:
Binary file not shown.
@@ -33,7 +33,7 @@ function getAllWords() {
|
||||
//Aufgabe 2
|
||||
function getRandomWord() {
|
||||
$arr = getAllWords();
|
||||
return array_rand($arr)[0];
|
||||
return $arr[array_rand($arr)];
|
||||
}
|
||||
|
||||
// startet die Session und initialisiert das tasks-Array
|
||||
|
Reference in New Issue
Block a user