From 9cf274ec66d9185fce14c7064551f16482709e84 Mon Sep 17 00:00:00 2001 From: Smiley48 <43863676+Smiley48@users.noreply.github.com> Date: Tue, 14 Jun 2022 12:00:14 +0300 Subject: [PATCH] Setup fix (#254) --- intaro.retailcrm/export/export_setup.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/intaro.retailcrm/export/export_setup.php b/intaro.retailcrm/export/export_setup.php index 02579e8b..3f9375f8 100644 --- a/intaro.retailcrm/export/export_setup.php +++ b/intaro.retailcrm/export/export_setup.php @@ -52,8 +52,6 @@ $iblockFieldsName = $settingsService->getIblockFieldsNames(); $iblockPropertiesHint = $settingsService->getHintProps(); $units = $settingsService->getUnitsNames(); $hintUnit = $settingsService->getHintUnit(); -$SETUP_FILE_NAME = $settingsService->setupFileName; -$SETUP_PROFILE_NAME = $settingsService->setupProfileName; //highloadblock if (CModule::IncludeModule('highloadblock')) { @@ -62,6 +60,9 @@ if (CModule::IncludeModule('highloadblock')) { } if (($ACTION === 'EXPORT' || $ACTION === 'EXPORT_EDIT' || $ACTION === 'EXPORT_COPY') && $STEP === 1) { + $SETUP_FILE_NAME = $settingsService->setupFileName; + $SETUP_PROFILE_NAME = $settingsService->setupProfileName; + $iblockProperties = $settingsService->getIblockPropsPreset(); $loadPurchasePrice = $settingsService->loadPurchasePrice; $iblockExport = $settingsService->iblockExport; @@ -357,7 +358,6 @@ if ($STEP === 1) { $arIBlock['OLD_PROPERTY_SKU_SELECT'], $propertyKey ); - echo $isSelected ? ' selected' : ''; ?> > @@ -377,7 +377,6 @@ if ($STEP === 1) {