summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrothstein2018-03-30 01:42:31 (GMT)
committerDamien McKenna2018-03-30 01:42:31 (GMT)
commitaff92c08791e5bb01271e5e661375d04f46fcd8a (patch)
treed0accd8937e2532db6c2337cefbcfce869832089
parentec54a7d6db458ac29eb3ad99e2d1b13de1684670 (diff)
Issue #2476297 by nicrodgers, David_Rothstein: Views cache should be segmented based on content language, not just interface language.
-rw-r--r--plugins/views_plugin_cache.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/views_plugin_cache.inc b/plugins/views_plugin_cache.inc
index bdeb51d..6fdc5bb 100644
--- a/plugins/views_plugin_cache.inc
+++ b/plugins/views_plugin_cache.inc
@@ -343,6 +343,7 @@ class views_plugin_cache extends views_plugin {
'super-user' => $user->uid == 1,
// special caching for super user.
'language' => $GLOBALS['language']->language,
+ 'language_content' => $GLOBALS['language_content']->language,
'base_url' => $GLOBALS['base_url'],
);