Skip to content

Commit 952298a

Browse files
author
Zsombor Franczia
committed
Fixed conditional mistake of JS->PHP translation (based on token generation JS)
1 parent 5a864a4 commit 952298a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stichoza/GoogleTranslate/Tokens/GoogleTokenGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ private function TL($a)
5050
$d[$e++] = $g >> 12 & 63 | 128;
5151
} else {
5252
$d[$e++] = $g >> 12 | 224;
53-
$d[$e++] = $g >> 6 & 63 | 128;
5453
}
54+
$d[$e++] = $g >> 6 & 63 | 128;
5555
}
5656
$d[$e++] = $g & 63 | 128;
5757
}

0 commit comments

Comments
 (0)