Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 089838bc erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: PHP Fatal error: Uncaught TypeError:...

fix: PHP Fatal error:  Uncaught TypeError: QUI\ERP\Accounting\PriceFactors\FactorList::__construct(): Argument #1 () must be of type array, bool given
Übergeordneter 8e39cada
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -41,7 +41,7 @@ function ($invoiceId, $data) {
unset($data['articles']);
}
if (isset($data['priceFactors'])) {
if (isset($data['priceFactors']) && is_array($data['priceFactors'])) {
try {
$List = new QUI\ERP\Accounting\PriceFactors\FactorList($data['priceFactors']);
$Invoice->getArticles()->importPriceFactors($List);
......
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