Add checking for null for other images. #424

This commit is contained in:
Korina Cordero 2020-07-22 06:35:12 +00:00
parent 1cba6b0670
commit 37fef914d9

View file

@ -1531,9 +1531,12 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
if ($img_4 != null)
$pic_array['image_4'] = $img_4;
foreach ($other_images as $img)
if ($other_images != null)
{
$pic_array['other_images'][] = $img;
foreach ($other_images as $img)
{
$pic_array['other_images'][] = $img;
}
}
$params['signature'] = $cust_signature;