Skip to content
Code-Schnipsel Gruppen Projekte
Commit 8a29edb6 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: datetime int param

Übergeordneter 5f7995f6
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!87Next 2.x,!80Update 'next-3.x' with latest changes from 'main'
...@@ -864,7 +864,7 @@ public static function getElectronicInvoice( ...@@ -864,7 +864,7 @@ public static function getElectronicInvoice(
$timeForPayment = strtotime($timeForPayment); $timeForPayment = strtotime($timeForPayment);
if ($timeForPayment) { if ($timeForPayment) {
$timeForPayment = new DateTime($timeForPayment); $timeForPayment = new DateTime((int)$timeForPayment);
} }
if (!($timeForPayment instanceof DateTime)) { if (!($timeForPayment instanceof DateTime)) {
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren