diff --git a/src/Checks/Plausi/MDPlausi.php b/src/Checks/Plausi/MDPlausi.php index 8a81b4b..7738b78 100644 --- a/src/Checks/Plausi/MDPlausi.php +++ b/src/Checks/Plausi/MDPlausi.php @@ -139,7 +139,7 @@ final class MDPlausi { // Paintings should not be printed at the same time if ($this->_is_painted_drawn === true and $this->_is_print_material === true) { - $message = $this->_tlLoader->tl("quality", "quality", "print_not_paint") . ' ' . $this->_tlLoader->tl("quality", "quality", "better_use") . ' "' . $this->_tlLoader->tl("eventtype_name", "eventname", "4") . '" . '; + $this->_messageList[] = $this->_tlLoader->tl("quality", "quality", "print_not_paint") . ' ' . $this->_tlLoader->tl("quality", "quality", "better_use") . ' "' . $this->_tlLoader->tl("eventtype_name", "eventname", "4") . '" . '; $this->_hasCertainWarnings = true; } @@ -561,8 +561,8 @@ final class MDPlausi { } - if (!isset($this->_is_painted_drawn)) $this->_is_painted_drawn = true; - if (!isset($this->_is_print_material)) $this->_is_print_material = true; + if (!isset($this->_is_painted_drawn)) $this->_is_painted_drawn = false; + if (!isset($this->_is_print_material)) $this->_is_print_material = false; }