ztt 10 months ago
parent 1ad5f25230
commit 81428c5da7
  1. 3
      application/admin/model/shopro/goods/Goods.php

@ -135,8 +135,7 @@ class Goods extends Common
}
public function getDispatchTypeAttr($value, $data) {
$ids = $this->attrFormatComma($value, $data, 'dispatch_type', true);
return $ids ? array_values(array_filter(array_map("intval", $ids))) : $ids;
return explode(',', $value);
}

Loading…
Cancel
Save