summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-06-14 13:33:20 +0000
committerDries Buytaert <dries@buytaert.net>2006-06-14 13:33:20 +0000
commit6fb5f9059b16e5f30a8638ae60ee04bda9b5a327 (patch)
tree5c1b850f484cbf77cbc00d0fdbb1069a9dcc8e50 /includes
parente5de216aabfee388c6358feb549e9d90f2915179 (diff)
downloadbrdo-6fb5f9059b16e5f30a8638ae60ee04bda9b5a327.tar.gz
brdo-6fb5f9059b16e5f30a8638ae60ee04bda9b5a327.tar.bz2
- Patch #68703 by jvandyk: corrected the PHPDoc of menu_get_item().
Diffstat (limited to 'includes')
-rw-r--r--includes/menu.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 740a90191..940f61a7d 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -260,7 +260,7 @@ function menu_get_local_tasks() {
* The menu ID of the menu item to retrieve.
* @param $path
* The internal path of the menu item to retrieve. Defaults to NULL. Only
- * used if no item can be found matching $mid.
+ * used if $mid is not set.
* @param $reset
* Optional flag that resets the static variable cache of the menu tree, if
* set to TRUE. Default is FALSE.
@@ -335,7 +335,7 @@ function menu_set_location($location) {
foreach (array_reverse($location) as $item) {
if (isset($_menu['path index'][$item['path']])) {
$mid = $_menu['path index'][$item['path']];
- if (isset ($_menu['visible'][$mid])) {
+ if (isset($_menu['visible'][$mid])) {
// Splice in the breadcrumb at this location.
if ($prev_id) {
$_menu['items'][$prev_id]['pid'] = $mid;
@@ -1351,7 +1351,7 @@ function _menu_build_local_tasks($pid) {
}
/**
- * Returns TRUE if the is off-line for maintenance.
+ * Returns TRUE if the site is off-line for maintenance.
*/
function _menu_site_is_offline() {
// Check if site is set to off-line mode
@@ -1373,4 +1373,4 @@ function _menu_site_is_offline() {
}
}
return FALSE;
-}
+} \ No newline at end of file