diff --git a/modules/hotelreservationsystem/classes/HotelBranchInformation.php b/modules/hotelreservationsystem/classes/HotelBranchInformation.php index 6f872ef1c..2fc5ed567 100644 --- a/modules/hotelreservationsystem/classes/HotelBranchInformation.php +++ b/modules/hotelreservationsystem/classes/HotelBranchInformation.php @@ -51,8 +51,8 @@ class HotelBranchInformation extends ObjectModel 'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'latitude' => array('type' => self::TYPE_FLOAT), 'longitude' => array('type' => self::TYPE_FLOAT), - 'map_formated_address' => array('type' => self::TYPE_HTML, 'size' => 128), - 'map_input_text' => array('type' => self::TYPE_STRING, 'size' => 128), + 'map_formated_address' => array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml'), + 'map_input_text' => array('type' => self::TYPE_STRING, 'validate' => 'isString'), 'active_refund' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false),