diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-16 08:01:46 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-16 08:01:46 +0000 |
commit | c3e70ecfa61f6e54fdc9ccd5dd4b01d44cb0b814 (patch) | |
tree | 6e8c800ebbf6aa8a0efccce8f51a609b25bd0bd3 /core | |
parent | f12f53574923741fea3c518894ad130aa96e6399 (diff) |
Initialize $result in get_html()
Diffstat (limited to 'core')
-rw-r--r-- | core/helpers/block_manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/block_manager.php b/core/helpers/block_manager.php index 724f1927..108979c9 100644 --- a/core/helpers/block_manager.php +++ b/core/helpers/block_manager.php @@ -54,6 +54,7 @@ class block_manager_Core { static function get_html($location) { $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]); |