dever 3 anos atrás
pai
commit
9a8e25de88
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      service/agent/lib/Order.php

+ 5 - 0
service/agent/lib/Order.php

@@ -664,6 +664,11 @@ class Order
                     }
                     }
                 }
                 }
 
 
+                if (!$table['body']) {
+                    unset($table);
+                    $table = array();
+                }
+
                 if (isset($process[3]['type']) && is_array($process[3]['type']) && in_array(3, $process[3]['type'])) {
                 if (isset($process[3]['type']) && is_array($process[3]['type']) && in_array(3, $process[3]['type'])) {
                     $parent_title = '(已发放分润)';
                     $parent_title = '(已发放分润)';
                     $parent_button = array();
                     $parent_button = array();