Bugfix count(null) www/pages

This commit is contained in:
Xenomporio
2022-06-10 11:28:28 +02:00
parent 93e7ee4903
commit eaa3b1da75
53 changed files with 409 additions and 409 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class Shopimporter_Shopify_Adapter
{
$len = strlen($header);
$header = explode(':', $header, 2);
if (count($header) < 2){
if ((!empty($header)?count($header):0) < 2){
// ignore invalid headers
return $len;
}