mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Merge pull request #1527 from moteus/menu_array_default_arg
Fix. Use default value in function definition.
This commit is contained in:
@@ -384,7 +384,7 @@
|
||||
} //end function
|
||||
|
||||
//create the menu array
|
||||
public function menu_array($sql, $menu_item_level) {
|
||||
public function menu_array($sql = '', $menu_item_level = 0) {
|
||||
|
||||
//get the database connnection
|
||||
$db = $this->db;
|
||||
|
||||
Reference in New Issue
Block a user