summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-26 01:11:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-26 01:11:23 +0000
commit5739c24c1450a81777813610021bfa452138a939 (patch)
treef396835317c07204df8f4d21ec78f3b3ca610852 /includes
parent41147eb70ddf89165e2ab2dbfcb5e2056a41453c (diff)
downloadbrdo-5739c24c1450a81777813610021bfa452138a939.tar.gz
brdo-5739c24c1450a81777813610021bfa452138a939.tar.bz2
- Small fix for drupal_alter()
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 826efb6a3..9515c7623 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -2179,7 +2179,7 @@ function drupal_system_listing($mask, $directory, $key = 'name', $min_depth = 1)
* Any additional params will be passed on to the called
* hook_$type_alter functions.
*/
-function drupal_alter($type, &$data = array()) {
+function drupal_alter($type, &$data) {
// Hang onto a reference to the data array so that it isn't blown away later.
$args = array(&$data);