diff --git a/vendor/thinkcmf/cmf/src/phpqrcode/QRcode.php b/vendor/thinkcmf/cmf/src/phpqrcode/QRcode.php index 81dd708965abd90498efecde53f69ae613f93cbe..7df2ae671f7826c193b9c175ac9ced5c333ea908 100755 --- a/vendor/thinkcmf/cmf/src/phpqrcode/QRcode.php +++ b/vendor/thinkcmf/cmf/src/phpqrcode/QRcode.php @@ -3062,14 +3062,14 @@ class QRrawcode if ($this->count < $this->dataLength) { $row = $this->count % $this->blocks; - $col = $this->count / $this->blocks; + $col = intdiv($this->count, $this->blocks); if ($col >= $this->rsblocks[0]->dataLength) { $row += $this->b1; } $ret = $this->rsblocks[$row]->data[$col]; } else if ($this->count < $this->dataLength + $this->eccLength) { $row = ($this->count - $this->dataLength) % $this->blocks; - $col = ($this->count - $this->dataLength) / $this->blocks; + $col = intdiv(($this->count - $this->dataLength), $this->blocks); $ret = $this->rsblocks[$row]->ecc[$col]; } else { return 0; @@ -3345,6 +3345,7 @@ class QRencode public $casesensitive = true; public $eightbit = false; + public $cmyk; public $version = 0; public $size = 3;