Fixed get module_data to get url_encode_separator

This commit is contained in:
fermin831 2017-03-01 15:30:40 +01:00 committed by fermin
parent 7bebbbd6b7
commit aa66a1cc4c

View File

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