Add default value to get_operators_list function's argument

This commit is contained in:
Dmitriy Simushev 2014-01-28 15:45:43 +00:00
parent 98502d9e93
commit 128d387ebe
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ function operator_by_code($code)
* would be sort in descending order and in ascending order overwise.
*
*/
function get_operators_list($options)
function get_operators_list($options = array())
{
$db = Database::getInstance();

View File

@ -28,7 +28,7 @@ csrf_check_token();
$group_id = verify_param("gid", "/^\d{1,9}$/");
$page = array('groupid' => $group_id);
$page['operators'] = get_operators_list(array());
$page['operators'] = get_operators_list();
$page['errors'] = array();
$group = group_by_id($group_id);