Julio Montoya 13 年之前
父節點
當前提交
c38f272f75
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main/inc/lib/certificate.lib.php

+ 2 - 2
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);
 		}
 	}