fix error

This commit is contained in:
paoloar77
2024-06-20 15:26:21 +02:00
parent 04f98608c3
commit da8c6f1853
2 changed files with 6 additions and 2 deletions

View File

@@ -68,6 +68,9 @@ class ProductLogger
public function addLog($type, $message)
{
if ($type === '') {
$type = 'LOG';
}
if (!isset($this->logs[$type])) {
$this->logs[$type] = "";
}