summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/block_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/block_manager.php')
-rw-r--r--modules/gallery/helpers/block_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/block_manager.php b/modules/gallery/helpers/block_manager.php
index c5320922..87563b32 100644
--- a/modules/gallery/helpers/block_manager.php
+++ b/modules/gallery/helpers/block_manager.php
@@ -60,12 +60,12 @@ class block_manager_Core {
return $blocks;
}
- static function get_html($location) {
+ static function get_html($location, $theme) {
$active = self::get_active($location);
$result = "";
foreach ($active as $id => $desc) {
if (method_exists("$desc[0]_block", "get")) {
- $block = call_user_func(array("$desc[0]_block", "get"), $desc[1]);
+ $block = call_user_func(array("$desc[0]_block", "get"), $desc[1], $theme);
$block->id = $id;
$result .= $block;
}