mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
🔧 wow what
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ class QRCode{
|
||||
throw new QRCodeException('Invalid error correct level: '.$options->eccLevel);
|
||||
}
|
||||
|
||||
if(!is_array($options->imageTransparencyBG || count($options->imageTransparencyBG) < 3)){
|
||||
if(!is_array($options->imageTransparencyBG) || count($options->imageTransparencyBG) < 3){
|
||||
$options->imageTransparencyBG = [255, 255, 255];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user