[-] CORE : fixed bug #PSCFV-4754 field name in image_type was too short

This commit is contained in:
vAugagneur
2013-01-07 14:08:08 +01:00
parent 755349ef95
commit b83ab4dc4b
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class ImageTypeCore extends ObjectModel
'table' => 'image_type',
'primary' => 'id_image_type',
'fields' => array(
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isImageTypeName', 'required' => true, 'size' => 16),
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isImageTypeName', 'required' => true, 'size' => 64),
'width' => array('type' => self::TYPE_INT, 'validate' => 'isImageSize', 'required' => true),
'height' => array('type' => self::TYPE_INT, 'validate' => 'isImageSize', 'required' => true),
'categories' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),