diff --git a/src/Service/JobOrderHandler/CMBJobOrderHandler.php b/src/Service/JobOrderHandler/CMBJobOrderHandler.php index 42f1b49b..85ed87d7 100644 --- a/src/Service/JobOrderHandler/CMBJobOrderHandler.php +++ b/src/Service/JobOrderHandler/CMBJobOrderHandler.php @@ -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;