diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-12 13:08:29 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-12 13:14:02 -0800 |
commit | a5a8cfd1bc7cd03c224c731c3ff433eec033457d (patch) | |
tree | c6908a855745921983f0da6319aed82200cc5ce3 /modules/gallery/controllers/admin_sidebar.php | |
parent | 79f700ef9f79926d5e806bd48e5a6f99b6ecc5bb (diff) |
Re-generate the install.sql so that the keys of the block lists are an md5 hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.
Diffstat (limited to 'modules/gallery/controllers/admin_sidebar.php')
-rw-r--r-- | modules/gallery/controllers/admin_sidebar.php | 2 |
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); |