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

fix: pcsg/kunden/froilein-adrett-template#106

Übergeordneter 37e95597
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -387,9 +387,11 @@ public function canUsedWith(QUI\ERP\Products\Interfaces\ProductInterface $Produc
}
// article / product check
foreach ($articles as $articleId) {
if ((int)$Product->getId() === (int)$articleId) {
return true;
if (\is_array($articles)) {
foreach ($articles as $articleId) {
if ((int)$Product->getId() === (int)$articleId) {
return true;
}
}
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren