From 5a33fb7a6ad97bc2b89fce72cc4f0b7a2c1c21b4 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 27 Jun 2023 18:16:55 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06474=20-=20Fix=20regression=20introduced?= =?UTF-8?q?=20by=2070e6f707?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synchro/synchro_exec.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/synchro/synchro_exec.php b/synchro/synchro_exec.php index 08174954d..8626057c5 100644 --- a/synchro/synchro_exec.php +++ b/synchro/synchro_exec.php @@ -137,12 +137,13 @@ else { exit - 1; } - $bSimulate = (utils::ReadParam('simulate', '0', true) == '1'); - $sDataSourcesList = ReadMandatoryParam($oP, 'data_sources', 'raw_data'); // May contain commas +} - if ($sDataSourcesList == null) { - UsageAndExit($oP); - } +$bSimulate = (utils::ReadParam('simulate', '0', true) == '1'); +$sDataSourcesList = ReadMandatoryParam($oP, 'data_sources', 'raw_data'); // May contain commas + +if ($sDataSourcesList == null) { + UsageAndExit($oP); } foreach(explode(',', $sDataSourcesList) as $iSDS)