Merge pull request #1068 from vishal-singh-webkul/gli-813

Added: Validation for the social name in the admin genders controller and changed the neutral gender to the other.
This commit is contained in:
Rohit Jain
2024-07-02 15:05:31 +05:30
committed by GitHub
2 changed files with 3 additions and 3 deletions

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' => 'isString', 'required' => true, 'size' => 20),
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 20),
),
);