Merge branch 'cherry-pick-ec515db1' into 'pandora_6.0'

Fixed get module_data to get url_encode_separator

See merge request !223
This commit is contained in:
vgilc 2017-03-06 12:32:43 +01:00
commit fe686df734

View File

@ -5879,11 +5879,10 @@ function api_get_module_data($id, $thrash1, $other, $returnType) {
return; return;
} }
$data = explode("|", $other['data']); $separator = $other['data'][0];
$separator = $data[0]; $periodSeconds = $other['data'][1];
$periodSeconds = $data[1]; $tstart = $other['data'][2];
$tstart = $data[2]; $tend = $other['data'][3];
$tend = $data[3];
if (($tstart != "") && ($tend != "")) { if (($tstart != "") && ($tend != "")) {
try { try {