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,10 +1531,13 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
if ($img_4 != null) if ($img_4 != null)
$pic_array['image_4'] = $img_4; $pic_array['image_4'] = $img_4;
if ($other_images != null)
{
foreach ($other_images as $img) foreach ($other_images as $img)
{ {
$pic_array['other_images'][] = $img; $pic_array['other_images'][] = $img;
} }
}
$params['signature'] = $cust_signature; $params['signature'] = $cust_signature;
} }