diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d91992cb25..12874d6134 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-10-30 Hirofumi Kosaka + + * include/functions_api.php: added 'description' parameter to + 'create_group' API. + 2012-10-29 Ramon Novoa * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 440eea7c92..895ab20b00 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -3690,7 +3690,7 @@ function api_set_apply_all_policies($thrash1, $thrash2, $other, $thrash3) { * * @param string $id Name of the new group. * @param $thrash1 Don't use. - * @param array $other it's array, $other as param is ;; in this order + * @param array $other it's array, $other as param is ;; in this order * and separator char (after text ; ) and separator (pass in param othermode as othermode=url_encode_separator_) * example: * @@ -3729,12 +3729,14 @@ function api_set_create_group($id, $thrash1, $other, $thrash3) { if ($other['data'][1] != "") { $values = array( 'icon' => $other['data'][0], - 'parent' => $other['data'][1] + 'parent' => $other['data'][1], + 'description' => $other['data'][2] ); } else { $values = array( - 'icon' => $other['data'][0] + 'icon' => $other['data'][0], + 'description' => $other['data'][2] ); }