summaryrefslogtreecommitdiff
path: root/core/helpers/dashboard.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-01-14 00:22:17 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-01-14 00:22:17 +0000
commitc9e6b1ef4474f02e98f48143277620e72105f8bb (patch)
tree9830c13e29597226ced5efef0f6c20a128170055 /core/helpers/dashboard.php
parent7043d17040a78c50f61135eb7cf223f921321d8f (diff)
Correct the initial value get active blocks
Diffstat (limited to 'core/helpers/dashboard.php')
-rw-r--r--core/helpers/dashboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/dashboard.php b/core/helpers/dashboard.php
index 61ff01ce..1c46b218 100644
--- a/core/helpers/dashboard.php
+++ b/core/helpers/dashboard.php
@@ -19,7 +19,7 @@
*/
class dashboard_Core {
public static function get_active() {
- return unserialize(module::get_var("core", "dashboard_blocks", "a:{}"));
+ return unserialize(module::get_var("core", "dashboard_blocks", "a:0:{}"));
}
public static function add_block($location, $module_name, $block_id) {