Skip to content

Commit

Permalink
FIX: shopware6 connector: Check API Zeigt Fehlermeldung nicht an
Browse files Browse the repository at this point in the history
Behebt: Fehler #718
  • Loading branch information
rebootl committed Oct 17, 2024
1 parent de68b5b commit 4967de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SL/ShopConnector/Shopware6.pm
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ sub get_version {
# 2. request version number

$ret = $self->connector;
if (200 != $ret->responseCode()) {
if (!defined $ret || 200 != $ret->responseCode()) {
$return->{success} = 0;
$return->{data}->{version} = $self->{errors}; # whatever init puts in errors
return $return;
Expand Down

0 comments on commit 4967de5

Please sign in to comment.