diff --git a/pages/sync.php b/pages/sync.php index 883277b..290c440 100644 --- a/pages/sync.php +++ b/pages/sync.php @@ -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);