瀏覽代碼

Merge branch 'dev'

master
Guillaume 4 年之前
父節點
當前提交
b1d70abf01
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      common/models/ProductDistribution.php

+ 2
- 1
common/models/ProductDistribution.php 查看文件

@@ -67,7 +67,8 @@ class ProductDistribution extends ActiveRecordCommon
public function rules()
{
return [
[['id_distribution', 'id_product', 'active', 'quantity_max'], 'integer']
[['id_distribution', 'id_product', 'active'], 'integer'],
[['quantity_max'], 'number'],
];
}


Loading…
取消
儲存