Fix errors in checking objects being printed and painted at the same
time
This commit is contained in:
parent
517f21f910
commit
fc99e94d79
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user