mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 10:59:16 -04:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user