Skip to content

Commit

Permalink
иногда возникала ошибка преобразования для порта
Browse files Browse the repository at this point in the history
#906
closes #914
  • Loading branch information
artbear committed Oct 28, 2021
1 parent 9fc2f10 commit c61fe62
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,10 @@
Если Не ЗначениеЗаполнено(Порт) Тогда
Порт = ПортПоУмолчанию();
КонецЕсли;
Если ТипЗнч(Порт) <> Тип("Число") Тогда
Порт = Число(Порт);
КонецЕсли;

Возврат Порт;
КонецФункции

Expand Down

0 comments on commit c61fe62

Please sign in to comment.