Commit 41147eb7 authored by Steven Wittens's avatar Steven Wittens

#110888: Typos

parent 5d12e759
......@@ -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 paramaters passed into
// Now, use func_get_args() to pull in any additional parameters 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);
$additional_args = func_get_args();
array_shift($additional_args);
array_shift($additional_args);
$args = array_merge($args, $additional_args);
foreach (module_implements($type .'_alter') as $module) {
$function = $module .'_'. $type .'_alter';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment