...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/mysql/crm_activity.php
- Класс: \CCrmActivity
- Вызов: CCrmActivity::DoSaveEntityCommunicationSettings
static function DoSaveEntityCommunicationSettings($entityTypeID, $entityID, $settings) { global $DB; $entityTypeID = (int)$entityTypeID; $entityID = (int)$entityID; $settings = $DB->ForSql($settings); $tableName = self::COMMUNICATION_TABLE_NAME; $DB->Query( "UPDATE {$tableName} SET ENTITY_SETTINGS = '{$settings}' WHERE ENTITY_SETTINGS IS NULL AND ENTITY_TYPE_ID = {$entityTypeID} AND ENTITY_ID = {$entityID}", false, 'File: '.__FILE__.'
Line: '.__LINE__ ); }