diff --git a/modules/core/js_modules/Hm_MessagesStore.js b/modules/core/js_modules/Hm_MessagesStore.js index 6b2da16c5..145235377 100644 --- a/modules/core/js_modules/Hm_MessagesStore.js +++ b/modules/core/js_modules/Hm_MessagesStore.js @@ -144,7 +144,6 @@ class Hm_MessagesStore { let hook; let serverId; let folder; - let tag_id; const config = []; if (this.path.startsWith('imap')) { hook = "ajax_imap_folder_display"; @@ -165,7 +164,7 @@ class Hm_MessagesStore { break; case 'tag': hook = "ajax_imap_tag_data"; - tag_id = getParam('tag_id'); + folder = getParam('tag_id'); break; default: hook = "ajax_imap_folder_data"; @@ -182,9 +181,6 @@ class Hm_MessagesStore { if (folder) { config.push({ name: "folder", value: folder }); } - if (tag_id) { - config.push({ name: "tag_id", value: tag_id }); - } return config; } diff --git a/modules/core/output_modules.php b/modules/core/output_modules.php index 2ed2a8a2c..cbdb3ea13 100644 --- a/modules/core/output_modules.php +++ b/modules/core/output_modules.php @@ -1558,7 +1558,7 @@ class Hm_Output_settings_site_link extends Hm_Output_Module { * Outputs links to the Site Settings pages */ protected function output() { - $res = ''), $res->output_response); + $this->assertEquals(array('formatted_folder_list' => ''), $res->output_response); } /** * @preserveGlobalState disabled