Skip to content

Commit

Permalink
Issue #5046: Fix caching for the Modules page
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmels authored Apr 17, 2021
1 parent a259d2d commit bb1aae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/system/system.module
Original file line number Diff line number Diff line change
Expand Up @@ -2990,7 +2990,7 @@ function _system_rebuild_module_data() {
* Array of all available modules and their data.
*/
function system_rebuild_module_data() {
$modules_cache = &backdrop_static(__FUNCTION__);
$modules_cache = &backdrop_static('modules_cache');
// Only rebuild once per request. $modules and $modules_cache cannot be
// combined into one variable, because the $modules_cache variable is reset by
// reference from system_list_reset() during the rebuild.
Expand Down

0 comments on commit bb1aae0

Please sign in to comment.