Compare commits

...

1 Commits

Author SHA1 Message Date
Pro-Idler 0aa36ac100 Fix broken QR code generation 2 years ago

@ -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