• Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/vote.php
  • Класс: BitrixVoteVoteTable
  • Вызов: VoteTable::validateActivityDate
static function validateActivityDate($value, $primary, $row, $field)
{
	/**@var $field */
	if (empty($value))
		return new FieldError(
			$field, Loc::getMessage("VOTE_ERROR_DATE_VOTE_IS_EMPTY"), $field->getName()
		);

	return true;
}