diff --git a/intaro.retailcrm/install/index.php b/intaro.retailcrm/install/index.php index 6ded1147..d0285c67 100644 --- a/intaro.retailcrm/install/index.php +++ b/intaro.retailcrm/install/index.php @@ -978,6 +978,10 @@ class intaro_retailcrm extends CModule $profileName = $_POST['SETUP_PROFILE_NAME']; } + if ($profileName == '') { + $arResult['errCode'] = 'ERR_FIELDS_PROFILE'; + } + if ($filename === '') { $arResult['errCode'] = 'ERR_FIELDS_FILE'; }