Use unicode escape for bullets in BackupMultifactorMethod
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 10 Feb 2021 10:12:52 +0000 (11:12 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 10 Feb 2021 10:12:52 +0000 (11:12 +0100)
wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php

index 9d8fb7553d41e17c6fb21c2aaac3184fb8ea2557..6c8d71443bdbd8c227e1927b91630b61fd62e50a 100644 (file)
@@ -106,7 +106,7 @@ final class BackupMultifactorMethod implements IMultifactorMethod
                     ];
 
                     while (\count($code['chunks']) < self::CHUNKS) {
-                        $code['chunks'][] = \str_repeat("\xE2\x80\xA2", self::CHUNK_LENGTH);
+                        $code['chunks'][] = \str_repeat("\u{2022}", self::CHUNK_LENGTH);
                     }
                 }