summaryrefslogtreecommitdiff
path: root/modules/image_block
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-29 15:07:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-29 15:07:53 -0700
commit19cb27c9a4489c357c0e516c69ebcb218f8832c1 (patch)
tree41017d2e999e4d94adaa405334d29caebd8afa49 /modules/image_block
parent39a40e49a19f00baeeeefe375d67e915ccc7e09a (diff)
change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach
Diffstat (limited to 'modules/image_block')
-rw-r--r--modules/image_block/helpers/image_block_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/image_block/helpers/image_block_block.php b/modules/image_block/helpers/image_block_block.php
index f7aefc43..261e5848 100644
--- a/modules/image_block/helpers/image_block_block.php
+++ b/modules/image_block/helpers/image_block_block.php
@@ -22,7 +22,7 @@ class image_block_block_Core {
return array("random_image" => t("Random Image"));
}
- static function get($block_id) {
+ static function get($block_id, $theme) {
$block = new Block();
switch ($block_id) {
case "random_image":