[-] Classes : fixed bug #PSCFI-5435 - Webservice: cannot set negative combination quantity

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14906 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2012-04-26 12:35:20 +00:00
parent e1ae7b9125
commit fe5cfcf2f8

View File

@@ -69,7 +69,7 @@ class CombinationCore extends ObjectModel
'location' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 64),
'ean13' => array('type' => self::TYPE_STRING, 'validate' => 'isEan13', 'size' => 13),
'upc' => array('type' => self::TYPE_STRING, 'validate' => 'isUpc', 'size' => 12),
'quantity' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'size' => 10),
'quantity' => array('type' => self::TYPE_INT, 'validate' => 'isInt', 'size' => 10),
'reference' => array('type' => self::TYPE_STRING, 'size' => 32),
'supplier_reference' => array('type' => self::TYPE_STRING, 'size' => 32),