Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
5511bb5f
Commit
5511bb5f
authored
17 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#214513
by Lynn: missing break-statement in system_send_email_action.
parent
a781df42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/menu.inc
+2
-2
2 additions, 2 deletions
includes/menu.inc
modules/system/system.module
+1
-0
1 addition, 0 deletions
modules/system/system.module
with
3 additions
and
2 deletions
includes/menu.inc
+
2
−
2
View file @
5511bb5f
...
@@ -652,14 +652,14 @@ function _menu_link_translate(&$item) {
...
@@ -652,14 +652,14 @@ function _menu_link_translate(&$item) {
_menu_item_localize
(
$item
,
$map
,
TRUE
);
_menu_item_localize
(
$item
,
$map
,
TRUE
);
}
}
// Allow other customizations - e.g. adding a page-specific query string to the
// 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
// options array. For performance reasons we only invoke this hook if the link
// has the 'alter' flag set in the options array.
// has the 'alter' flag set in the options array.
if
(
!
empty
(
$item
[
'options'
][
'alter'
]))
{
if
(
!
empty
(
$item
[
'options'
][
'alter'
]))
{
drupal_alter
(
'translated_menu_link'
,
$item
,
$map
);
drupal_alter
(
'translated_menu_link'
,
$item
,
$map
);
}
}
return
$map
;
return
$map
;
}
}
...
...
This diff is collapsed.
Click to expand it.
modules/system/system.module
+
1
−
0
View file @
5511bb5f
...
@@ -1639,6 +1639,7 @@ function system_send_email_action($object, $context) {
...
@@ -1639,6 +1639,7 @@ function system_send_email_action($object, $context) {
case
'comment'
:
case
'comment'
:
$comment
=
$context
[
'comment'
];
$comment
=
$context
[
'comment'
];
$node
=
node_load
(
$comment
->
nid
);
$node
=
node_load
(
$comment
->
nid
);
break
;
case
'user'
:
case
'user'
:
// Because this is not an action of type 'user' the user
// Because this is not an action of type 'user' the user
// object is not passed as $object, but it will still be available
// object is not passed as $object, but it will still be available
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment