From cccea5015951ed3783cb3015707ed30ea0b484ec Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 22 Feb 2011 15:21:40 +0000 Subject: [PATCH] Added an extra parameter 'simulate' SVN:trunk[1089] --- synchro/synchro_exec.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synchro/synchro_exec.php b/synchro/synchro_exec.php index 3876dca5a..979637034 100644 --- a/synchro/synchro_exec.php +++ b/synchro/synchro_exec.php @@ -101,7 +101,9 @@ else LoginWebPage::DoLogin(); // Check user rights and prompt if needed $oP = new WebPage(Dict::S("TitleSynchroExecution")); - $sDataSourcesList = utils::ReadParam('data_sources', null); + $sDataSourcesList = utils::ReadParam('data_sources', null, true); + $bSimulate = (utils::ReadParam('simulate', '0', true) == '1'); + if ($sDataSourcesList == null) { UsageAndExit($oP);