Add checking for null for other images. #424
This commit is contained in:
parent
1cba6b0670
commit
37fef914d9
1 changed files with 5 additions and 2 deletions
|
|
@ -1531,9 +1531,12 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
|
||||||
if ($img_4 != null)
|
if ($img_4 != null)
|
||||||
$pic_array['image_4'] = $img_4;
|
$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;
|
$params['signature'] = $cust_signature;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue