summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/admin_sidebar.php')
-rw-r--r--modules/gallery/controllers/admin_sidebar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_sidebar.php b/modules/gallery/controllers/admin_sidebar.php
index c83b5a37..6c8d15f1 100644
--- a/modules/gallery/controllers/admin_sidebar.php
+++ b/modules/gallery/controllers/admin_sidebar.php
@@ -35,7 +35,7 @@ class Admin_Sidebar_Controller extends Admin_Controller {
$active_blocks = array();
foreach ($this->input->get("block", array()) as $block_id) {
- $active_blocks[] = explode(":", (string) $block_id);
+ $active_blocks[md5($block_id)] = explode(":", (string) $block_id);
}
block_manager::set_active("site.sidebar", $active_blocks);