summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-14 16:13:59 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-14 16:13:59 -0400
commitc053db68bfbd0278caef0681010d5b3655e260fb (patch)
tree721449982b0fb0057f8bb486d96de76d1f707732
parent5530045aead48c14218d92102903e9cbdc89bb8b (diff)
downloadbrdo-c053db68bfbd0278caef0681010d5b3655e260fb.tar.gz
brdo-c053db68bfbd0278caef0681010d5b3655e260fb.tar.bz2
Issue #2510674 by er.pushpinderrana, joachim, cilefen: menu_get_item() should say that $path is optional and what the default is
-rw-r--r--includes/menu.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index eb623a936..140e67e71 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -431,7 +431,7 @@ function menu_set_item($path, $router_item) {
*
* @param $path
* The path; for example, 'node/5'. The function will find the corresponding
- * node/% item and return that.
+ * node/% item and return that. Defaults to the current path.
* @param $router_item
* Internal use only.
*