From ec515db1792e7d3147a03106338d2f7f9846da48 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 1 Mar 2017 15:30:40 +0100 Subject: [PATCH] Fixed get module_data to get url_encode_separator --- pandora_console/include/functions_api.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index ba44b9b5ca..fca81b2cb7 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -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 {