diff --git a/main/inc/lib/certificate.lib.php b/main/inc/lib/certificate.lib.php index b3d5b2afea..52461505b2 100644 --- a/main/inc/lib/certificate.lib.php +++ b/main/inc/lib/certificate.lib.php @@ -224,8 +224,8 @@ class Certificate extends Model { //Make sure HTML certificate is generated if (!empty($text) && !empty($path)) { require_once api_get_path(LIBRARY_PATH).'phpqrcode/qrlib.php'; - //L low, M - Medium, L large - $return = QRcode::png($text, $path, 'L', 1, 2); + //L low, M - Medium, L large error correction + $return = QRcode::png($text, $path, 'M', 2, 2); } }