Fixed get module_data to get url_encode_separator

This commit is contained in:
fermin831 2017-03-01 15:30:40 +01:00
parent 02332570de
commit ec515db179

View File

@ -6247,11 +6247,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 {