public static function SaveBindings($ID, $arBindings, $registerEvents = true, $checkPerms = true) { foreach ($arBindings as &$arBinding) { $arBinding['ACTIVITY_ID'] = $ID; } unset($arBinding); CCrmActivity::DoSaveBindings($ID, $arBindings); }