change QRMatrix::checkTypeNotIn() to checkTypeIn()

This commit is contained in:
smiley
2023-03-09 19:08:37 +01:00
parent d21ed9d8ed
commit 61128e4aec
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ abstract class QROutputAbstract implements QROutputInterface{
foreach($row as $x => $M_TYPE){
$M_TYPE_LAYER = $M_TYPE;
if($this->options->connectPaths && $this->matrix->checkTypeNotIn($x, $y, $this->options->excludeFromConnect)){
if($this->options->connectPaths && !$this->matrix->checkTypeIn($x, $y, $this->options->excludeFromConnect)){
// to connect paths we'll redeclare the $M_TYPE_LAYER to data only
$M_TYPE_LAYER = QRMatrix::M_DATA;