diff options
Diffstat (limited to 'modules/update/update.compare.inc')
-rw-r--r-- | modules/update/update.compare.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index 4782b2dc8..f630156be 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -30,7 +30,7 @@ * @see update_project_cache() */ function update_get_projects() { - static $projects = array(); + $projects = &drupal_static(__FUNCTION__, array()); if (empty($projects)) { // Retrieve the projects from cache, if present. $projects = update_project_cache('update_project_projects'); |