Fix test.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-05-01 11:48:57 +02:00
parent 1d6822c1e2
commit bbcd99789d
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Unicode {
if($to_uni) { if($to_uni) {
$str = strtr($str, $cp); $str = strtr($str, $cp);
} else { } else {
foreach($c in $cp) { foreach(string $c in $cp) {
$cpp[$c] = array_search($c, $cp); $cpp[$c] = array_search($c, $cp);
} }
$str = strtr($str, $cpp); $str = strtr($str, $cpp);