rabin 3 年之前
父节点
当前提交
2cb3824459
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tool/work/lib/Manage.php

+ 1 - 1
tool/work/lib/Manage.php

@@ -147,7 +147,7 @@ Class Manage
 				$w['product'] = $product['product_id'];
 			}
 
-			if ($info['branch_id']) {
+			if ($info['branch_id'] && strstr($info['branch_id'], ',') && $info['branch_id'] != -1) {
 				$branch_id = explode(',', $info['branch_id']);
 				$w['group'] = $branch_id[0];
 				$w['appoint_id'] = $branch_id[1];