From 0bfc65c635dd24177170d37e092c6b7cc4e7d634 Mon Sep 17 00:00:00 2001 From: OciXCrom Date: Thu, 9 Aug 2018 15:38:58 +0200 Subject: [PATCH] Add default values for menu_item_getinfo (#511) --- plugins/include/newmenus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/newmenus.inc b/plugins/include/newmenus.inc index 98faad81..9485ab2f 100644 --- a/plugins/include/newmenus.inc +++ b/plugins/include/newmenus.inc @@ -221,7 +221,7 @@ native menu_find_id(menu, page, key); * @return 1 on success, 0 on failure. * @error Invalid menu resource. */ -native menu_item_getinfo(menu, item, &access, info[], infolen, name[]="", namelen=0, &callback); +native menu_item_getinfo(menu, item, &access = 0, info[] = "", infolen = 0, name[]="", namelen=0, &callback = 0); /** * Sets an item's display text.