Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
5511bb5f
Commit
5511bb5f
authored
Feb 06, 2008
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#214513
by Lynn: missing break-statement in system_send_email_action.
parent
a781df42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
includes/menu.inc
includes/menu.inc
+2
-2
modules/system/system.module
modules/system/system.module
+1
-0
No files found.
includes/menu.inc
View file @
5511bb5f
...
...
@@ -652,14 +652,14 @@ function _menu_link_translate(&$item) {
_menu_item_localize
(
$item
,
$map
,
TRUE
);
}
// Allow other customizations - e.g. adding a page-specific query string to the
// options array. For performance reasons we only invoke this hook if the link
// has the 'alter' flag set in the options array.
if
(
!
empty
(
$item
[
'options'
][
'alter'
]))
{
drupal_alter
(
'translated_menu_link'
,
$item
,
$map
);
}
return
$map
;
}
...
...
modules/system/system.module
View file @
5511bb5f
...
...
@@ -1639,6 +1639,7 @@ function system_send_email_action($object, $context) {
case
'comment'
:
$comment
=
$context
[
'comment'
];
$node
=
node_load
(
$comment
->
nid
);
break
;
case
'user'
:
// Because this is not an action of type 'user' the user
// object is not passed as $object, but it will still be available
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment