From 5739c24c1450a81777813610021bfa452138a939 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Mar 2007 01:11:23 +0000 Subject: - Small fix for drupal_alter() --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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); -- cgit v1.2.3