// fix required fields
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10415 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
7056c69af1
commit
99e90d5492
1 file changed
+1
-1
+1
-1
@@ -213,7 +213,7 @@ class ProductCore extends ObjectModel
|
|||||||
/** @var array tables */
|
/** @var array tables */
|
||||||
protected $tables = array ('product', 'product_lang');
|
protected $tables = array ('product', 'product_lang');
|
||||||
|
|
||||||
protected $fieldsRequired = array('quantity', 'price');
|
protected $fieldsRequired = array('price'); // quantity removed
|
||||||
protected $fieldsSize = array('reference' => 32, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13, 'upc' => 12, 'unity' => 10);
|
protected $fieldsSize = array('reference' => 32, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13, 'upc' => 12, 'unity' => 10);
|
||||||
protected $fieldsValidate = array(
|
protected $fieldsValidate = array(
|
||||||
'id_tax_rules_group' => 'isUnsignedId',
|
'id_tax_rules_group' => 'isUnsignedId',
|
||||||
|
|||||||
Reference in new issue
Block a user