Browse Source

Merge branch 'dev'

master
Guillaume 4 years ago
parent
commit
b1d70abf01
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      common/models/ProductDistribution.php

+ 2
- 1
common/models/ProductDistribution.php View File

@@ -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…
Cancel
Save