Fix broken QR code generation

bugfix
Pro-Idler 2 years ago
parent 356044fb2d
commit 0aa36ac100

@ -35,7 +35,7 @@ if (!empty($_GET['delsynccode'])) {
$qrCode = new QrCode($codeuri);
$qrCode->setWriterByName('svg');
$qrCode->setSize(550);
$qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::HIGH);
$qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::HIGH());
$qrcode = $qrCode->writeDataUri();
$chunk_code = trim(chunk_split($code, 5, ' '));
$lang_done = $Strings->get("done adding sync code", false);

Loading…
Cancel
Save