diff --git a/cgi-bin/uebung08/list-words.php b/cgi-bin/uebung08/list-words.php index 4a0654c..974e77e 100644 --- a/cgi-bin/uebung08/list-words.php +++ b/cgi-bin/uebung08/list-words.php @@ -14,7 +14,7 @@ echo << END; -foreach ($arr as $a) { +foreach ((array)$arr as $a) { $transformed = transformWord($a); $mask = maskWord($a); echo <<