diff --git a/module/LogisticsBundle/Form/Inventory/Inventory.php b/module/LogisticsBundle/Form/Inventory/Inventory.php index 5d53077e42..74052686da 100644 --- a/module/LogisticsBundle/Form/Inventory/Inventory.php +++ b/module/LogisticsBundle/Form/Inventory/Inventory.php @@ -107,6 +107,9 @@ public function init() 'filters' => array( array('name' => 'StringTrim'), ), + 'validators' => array( + array('name' => 'Int'), + ), ), ), 'attributes' => array( @@ -146,6 +149,9 @@ public function init() 'filters' => array( array('name' => 'StringTrim'), ), + 'validators' => array( + array('name' => 'Int'), + ), ), ), 'attributes' => array(