diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 06:12:49 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 06:12:49 +0000 |
commit | 5e94456ce99aef158d8c35b738bb7fb7d29c6e5b (patch) | |
tree | 9afbbc6253f9a49169b9740adc65442b8a0c6911 /core/helpers/core_block.php | |
parent | 0448a5b32cd69dfdced339cb7bad0cbc5b940c53 (diff) |
Make get_add_block_form() static.
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r-- | core/helpers/core_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index bfc55f09..af08c2c2 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -82,7 +82,7 @@ class core_block_Core { return $block; } - public function get_add_block_form() { + static function get_add_block_form() { $form = new Forge("admin/dashboard/add_block", "", "post"); $group = $form->group("add_block")->label(t("Add Block")); $group->dropdown("id")->label("Available Blocks")->options(block_manager::get_available()); |