summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-30 10:53:22 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-30 10:53:22 -0700
commit19b875723b37ac7121c64c0c882ccbc2e6353d08 (patch)
tree6370430103e0502139dbe9fbab5e824ad3a66947
parent8bf246f5148730b6596fd34b946ee97771b3bfc6 (diff)
Make the parameter to block_manager::get_html() optional as its not applicable to admin sidebar blocks.
-rw-r--r--modules/gallery/helpers/block_manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/block_manager.php b/modules/gallery/helpers/block_manager.php
index b99a6571..233e4f2e 100644
--- a/modules/gallery/helpers/block_manager.php
+++ b/modules/gallery/helpers/block_manager.php
@@ -60,7 +60,7 @@ class block_manager_Core {
return $blocks;
}
- static function get_html($location, $theme) {
+ static function get_html($location, $theme=null) {
$active = self::get_active($location);
$result = "";
foreach ($active as $id => $desc) {