mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
feature #416, return a structured list
... instead of string with comma separated values
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user