diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-30 10:53:22 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-30 10:53:22 -0700 |
commit | 19b875723b37ac7121c64c0c882ccbc2e6353d08 (patch) | |
tree | 6370430103e0502139dbe9fbab5e824ad3a66947 /modules | |
parent | 8bf246f5148730b6596fd34b946ee97771b3bfc6 (diff) |
Make the parameter to block_manager::get_html() optional as its not applicable to admin sidebar blocks.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/helpers/block_manager.php | 2 |
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) { |