X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Flistcommands%2Ffunctions.php;h=f2e6b8d29f463a6b28461cbce6521ea6600a1701;hp=b54d6fb8d2fbe156c743f5da1ae1157f01da13f3;hb=0bbf8622773554348ff9dc200e7e01411a81be0b;hpb=cdb3b004685f28cd34a38cec8d446aba1f0f72ff diff --git a/plugins/listcommands/functions.php b/plugins/listcommands/functions.php index b54d6fb8..f2e6b8d2 100644 --- a/plugins/listcommands/functions.php +++ b/plugins/listcommands/functions.php @@ -42,7 +42,6 @@ function get_non_rfc_lists() { */ function plugin_listcommands_optpage_register_block_do() { - global $optpage_blocks, $listcommands_allow_non_rfc_list_management; // only allow management of non-RFC lists if admin deems necessary @@ -64,7 +63,7 @@ function plugin_listcommands_optpage_register_block_do() * internal function that builds mailing list links */ function plugin_listcommands_menu_do() { - global $passed_id, $passed_ent_id, $color, $mailbox, $message, + global $passed_id, $passed_ent_id, $mailbox, $message, $startMessage, $oTemplate, $listcommands_allow_non_rfc_list_management; @include_once(SM_PATH . 'plugins/listcommands/config.php'); @@ -169,7 +168,7 @@ function plugin_listcommands_menu_do() { if (count($links) > 0) { - $oTemplate->assign('links', $links, FALSE); + $oTemplate->assign('links', $links); $output = $oTemplate->fetch('plugins/listcommands/read_body_header.tpl'); return array('read_body_header' => $output); }