diff options
Diffstat (limited to 'modules/gallery/helpers')
-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); } /** |