summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/item.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-02-06 19:47:49 -0800
committerBharat Mediratta <bharat@menalto.com>2012-02-06 19:48:52 -0800
commit065dd32f3168edc06ca235301c728ede8db849e6 (patch)
tree5c771155c977aefb08b2a427a6c76f30ebe87333 /modules/gallery/helpers/item.php
parent1bbaafcc1fc1c4997860706219a628343694e44b (diff)
Add tags for all Cache::instance()->set calls that don't have one.
Fixes #1818.
Diffstat (limited to 'modules/gallery/helpers/item.php')
-rw-r--r--modules/gallery/helpers/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php
index a0654a88..77d53663 100644
--- a/modules/gallery/helpers/item.php
+++ b/modules/gallery/helpers/item.php
@@ -408,7 +408,8 @@ class item_Core {
*/
static function set_display_context_callback() {
$args = func_get_args();
- Cache::instance()->set("display_context_" . $sid = Session::instance()->id(), $args);
+ Cache::instance()->set("display_context_" . $sid = Session::instance()->id(), $args,
+ array("display_context"));
}
/**