diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-05 08:39:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-05 08:39:08 +0000 |
commit | 4f28649fc3841e82e2b5347deff8d1157e2a657d (patch) | |
tree | de844958d7ed59d5b3f2bfdd774e9f9bb5092604 /modules | |
parent | 6a421dc605ff193e221c198ca5ad1dd920974c9f (diff) | |
download | brdo-4f28649fc3841e82e2b5347deff8d1157e2a657d.tar.gz brdo-4f28649fc3841e82e2b5347deff8d1157e2a657d.tar.bz2 |
#619902 follow-up by David_Rothstein: Fixed Use drupal_static() in dashboard_regions().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dashboard/dashboard.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module index 7faba5d8d..0ac52f2b6 100644 --- a/modules/dashboard/dashboard.module +++ b/modules/dashboard/dashboard.module @@ -281,7 +281,7 @@ function dashboard_region_descriptions() { * Return an array of dashboard region names. */ function dashboard_regions() { - static $regions; + $regions = &drupal_static(__FUNCTION__); if (!isset($regions)) { $regions = array_keys(dashboard_region_descriptions()); } |