diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-25 02:50:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-25 02:50:08 +0000 |
commit | 6e9eb5451ca3863af797710a9937c88972fcbf83 (patch) | |
tree | ed676fd928b42c1d757c4ef322c7f1e5ae72e72d | |
parent | 61035e444631b3f7573ffe2207c3f1d1e4268fbb (diff) | |
download | brdo-6e9eb5451ca3863af797710a9937c88972fcbf83.tar.gz brdo-6e9eb5451ca3863af797710a9937c88972fcbf83.tar.bz2 |
#558538 by pwolanin: Fixed Non-by-reference use of drupul_static() in token.inc.
-rw-r--r-- | includes/token.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |