mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-08 00:34:42 +03:00
Add default value to get_operators_list function's argument
This commit is contained in:
parent
98502d9e93
commit
128d387ebe
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user