From 5e94456ce99aef158d8c35b738bb7fb7d29c6e5b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 19 Jan 2009 06:12:49 +0000 Subject: Make get_add_block_form() static. --- core/helpers/core_block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/core_block.php') 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()); -- cgit v1.2.3