diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-30 20:04:31 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-30 20:04:31 -0700 |
commit | 96a4a261a450c8b7117f98cb5f670eb4ebd4b482 (patch) | |
tree | 5edb048ed7555777ee1998411e73b2c28d69219b /modules/gallery/helpers/item.php | |
parent | 246f5b59cb0e525a5ff6eaffce6b13e9af7e70b2 (diff) |
Patch for #1774
Diffstat (limited to 'modules/gallery/helpers/item.php')
-rw-r--r-- | modules/gallery/helpers/item.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php index 494c6db4..0bb45e49 100644 --- a/modules/gallery/helpers/item.php +++ b/modules/gallery/helpers/item.php @@ -407,7 +407,8 @@ class item_Core { * Set the display context callback for any future item renders. */ static function set_display_context_callback() { - Cache::instance()->set("display_context_" . $sid = Session::instance()->id(), func_get_args()); + $args = func_get_args(); + Cache::instance()->set("display_context_" . $sid = Session::instance()->id(), $args); } /** |