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
1 changed files with 4 additions and 5 deletions

View File

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