Skip to content
Code-Schnipsel Gruppen Projekte

Next 3.x

Zusammengeführt Henning Leutz requested to merge next-3.x into main
1 Datei
+ 3
3
Änderungen vergleichen
  • Nebeneinander
  • In der Reihe
+ 3
3
@@ -95,17 +95,17 @@ public function __construct(array $attributes)
foreach ($needle as $attribute) {
if (!isset($attributes[$attribute])) {
throw new QUI\ERP\Exception(
'Missing attribute:' . $attribute
);
$attributes[$attribute] = '';
}
}
/*
if (!isset($attributes['id']) && !isset($attributes['uuid'])) {
throw new QUI\ERP\Exception(
'Missing attribute: id or uuid'
);
}
*/
$this->isCompany = !empty($attributes['isCompany']) || !empty($attributes['company']);
$this->lang = $attributes['lang'];
Lade