Skip to content

Commit

Permalink
hotel name validation added
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitwebkul committed Oct 12, 2023
1 parent 7195ed9 commit 4db786d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class HotelBranchInformation extends ObjectModel

//lang fields
'policies' => array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml', 'lang' => true),
'hotel_name' => array('type' => self::TYPE_STRING, 'lang' => true, 'required' => true),
'hotel_name' => array('type' => self::TYPE_STRING, 'lang' => true, 'required' => true, 'validate' => 'isCatalogName'),
'description' => array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml', 'lang' => true),
'short_description' => array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml', 'lang' => true),
), );
Expand Down

0 comments on commit 4db786d

Please sign in to comment.