From 6e9eb5451ca3863af797710a9937c88972fcbf83 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 25 Aug 2009 02:50:08 +0000 Subject: #558538 by pwolanin: Fixed Non-by-reference use of drupul_static() in token.inc. --- includes/token.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/token.inc b/includes/token.inc index 91325d3fb..097e77709 100644 --- a/includes/token.inc +++ b/includes/token.inc @@ -238,7 +238,7 @@ function token_info() { * Load modulename.tokens.inc for all enabled modules. */ function _token_initialize() { - $initialized = drupal_static(__FUNCTION__); + $initialized = &drupal_static(__FUNCTION__); if (!$initialized) { foreach (module_list() as $module) { $filename = DRUPAL_ROOT . '/' . drupal_get_path('module', $module) . "/$module.tokens.inc"; -- cgit v1.2.3