summaryrefslogtreecommitdiff
path: root/core/helpers/block_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/block_manager.php')
-rw-r--r--core/helpers/block_manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/block_manager.php b/core/helpers/block_manager.php
index 9e8ab877..022626e5 100644
--- a/core/helpers/block_manager.php
+++ b/core/helpers/block_manager.php
@@ -41,7 +41,7 @@ class block_manager_Core {
static function get_available() {
$blocks = array();
- foreach (module::installed() as $module) {
+ foreach (module::active() as $module) {
$class_name = "{$module->name}_block";
if (method_exists($class_name, "get_list")) {
foreach (call_user_func(array($class_name, "get_list")) as $id => $title) {