Update the validation for the gender name in the gender class

This commit is contained in:
vishalsingh.qlo325
2024-07-02 13:19:31 +05:30
parent afe671a9eb
commit 347a3a28cc

View File

@@ -44,7 +44,7 @@ class GenderCore extends ObjectModel
'type' => array('type' => self::TYPE_INT, 'required' => true),
/* Lang fields */
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 20),
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 20),
),
);