feature #416, return a structured list

... instead of string with comma separated values
This commit is contained in:
plegall
2016-12-09 09:37:27 +01:00
parent 0a90a68915
commit a4bb90c2e4
+1 -1
View File
@@ -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())
{