Update
This commit is contained in:
1 parent
1a4be41e47
commit
49516948d5
2 files changed
+1
-1
No files matched your search
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