Bugfix shop error message

This commit is contained in:
OpenXE 2024-05-22 11:23:49 +02:00
parent bcc2f8f879
commit 823f35e44d

View File

@ -2868,7 +2868,7 @@ class Artikel extends GenArtikel {
$pageContents = $this->app->remote->RemoteSendArticleList($shop,$artikel,$extartikelnummer);
$check = strpos($pageContents ,'error:');
$check = strpos((string) $pageContents ,'error:');
$msg = '';
if(!empty($pageContents) && is_array($pageContents)) {
if(!empty($pageContents['status']) && !empty($pageContents['message'])) {