summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 02:50:08 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 02:50:08 +0000
commit6e9eb5451ca3863af797710a9937c88972fcbf83 (patch)
treeed676fd928b42c1d757c4ef322c7f1e5ae72e72d
parent61035e444631b3f7573ffe2207c3f1d1e4268fbb (diff)
downloadbrdo-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.inc2
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";