From a4bb90c2e47ce4f38e958535108746877df2ef87 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 9 Dec 2016 09:37:27 +0100 Subject: [PATCH] feature #416, return a structured list ... instead of string with comma separated values --- include/ws_functions/pwg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index 6edb841d6..88b7c02e8 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -327,7 +327,7 @@ function ws_session_getStatus($params, &$service) list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); $res['current_datetime'] = $dbnow; $res['version'] = PHPWG_VERSION; - $res['available_sizes'] = implode(',', array_keys(ImageStdParams::get_defined_type_map())); + $res['available_sizes'] = array_keys(ImageStdParams::get_defined_type_map()); if (is_admin()) {