Skip to content
Code-Schnipsel Gruppen Projekte

Next

Zusammengeführt Henning Leutz schlägt vor, next in master zu mergen.
3 Dateien
+ 61
5
Änderungen vergleichen
  • Nebeneinander
  • In der Reihe
Dateien
3
@@ -151,11 +151,11 @@ public function __construct(int $id)
$this->title = $data['title'];
if (!empty($data['usages'])) {
$this->usages = json_decode($data['usages'], true);
$this->usages = json_decode($data['usages'], true) ?? [];
}
if (!empty($data['userIds'])) {
$this->userIds = json_decode($data['userIds'], true);
$this->userIds = json_decode($data['userIds'], true) ?? [];
}
// migrate user ids
@@ -169,7 +169,7 @@ public function __construct(int $id)
}
if (!empty($data['groupIds'])) {
$this->groupIds = json_decode($data['groupIds'], true);
$this->groupIds = json_decode($data['groupIds'], true) ?? [];
}
// migrate user ids
@@ -187,7 +187,7 @@ public function __construct(int $id)
}
if (!empty($data['discountIds'])) {
$this->discountIds = json_decode($data['discountIds'], true);
$this->discountIds = json_decode($data['discountIds'], true) ?? [];
}
$this->CreateDate = new DateTime($data['createDate']);