Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
41147eb7
Commit
41147eb7
authored
Mar 26, 2007
by
Steven Wittens
Browse files
#110888
: Typos
parent
5d12e759
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
41147eb7
...
...
@@ -2183,12 +2183,12 @@ function drupal_alter($type, &$data = array()) {
// Hang onto a reference to the data array so that it isn't blown away later.
$args
=
array
(
&
$data
);
// Now, use func_get_args() to pull in any aditional param
a
ters passed into
// Now, use func_get_args() to pull in any ad
d
itional param
e
ters passed into
// the drupal_alter() call.
$aditional_args
=
func_get_args
();
array_shift
(
$aditional_args
);
array_shift
(
$aditional_args
);
$args
=
array_merge
(
$args
,
$aditional_args
);
$ad
d
itional_args
=
func_get_args
();
array_shift
(
$ad
d
itional_args
);
array_shift
(
$ad
d
itional_args
);
$args
=
array_merge
(
$args
,
$ad
d
itional_args
);
foreach
(
module_implements
(
$type
.
'_alter'
)
as
$module
)
{
$function
=
$module
.
'_'
.
$type
.
'_alter'
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment