...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/control/handler/taskfieldhandler.php
- Класс: BitrixTasksControlHandlerTaskFieldHandler
- Вызов: TaskFieldHandler::prepareIntegration
public function prepareIntegration(): self { if ($this->taskId) { return $this; } if (!array_key_exists('IM_CHAT_ID', $this->fields)) { $this->fields['IM_CHAT_ID'] = 0; } if (!array_key_exists('IM_MESSAGE_ID', $this->fields)) { $this->fields['IM_MESSAGE_ID'] = 0; } $this->fields['IM_CHAT_ID'] = (int) $this->fields['IM_CHAT_ID']; $this->fields['IM_MESSAGE_ID'] = (int) $this->fields['IM_MESSAGE_ID']; return $this; }