Permalink
Browse files

MDL-34342 cache: fixed issue within string cache key

  • Loading branch information...
1 parent 1f9041e commit db0a71d69917f2cb8e3b389d8fef3307ebc71f3e Sam Hemelryk committed with danpoltawski Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -6537,7 +6537,7 @@ public function load_component_strings($component, $lang, $disablecache=false, $
$component = $plugintype . '_' . $pluginname;
}
- $cachekey = $lang.'/'.$component;
+ $cachekey = $lang.'_'.$component;
if (!$disablecache and !$disablelocal) {
$string = $this->cache->get($cachekey);

0 comments on commit db0a71d

Please sign in to comment.