From: pdontthink Date: Tue, 30 Mar 2010 03:30:24 +0000 (+0000) Subject: Fix PHP errors. Thanks to Jacek Kalinski X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=28cdccf62f9ee168e15e0d7790324c03df5343a9;p=squirrelmail.git Fix PHP errors. Thanks to Jacek Kalinski git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13931 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 8d9bfb14..db174f26 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -676,12 +676,14 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, global $accesskey_read_msg_reply, $accesskey_read_msg_reply_all, $accesskey_read_msg_forward, $accesskey_read_msg_as_attach, $accesskey_read_msg_delete, $accesskey_read_msg_bypass_trash, - $accesskey_read_msg_move, $accesskey_read_msg_move_to; + $accesskey_read_msg_move, $accesskey_read_msg_move_to, + $accesskey_read_msg_copy; } else { $accesskey_read_msg_reply = $accesskey_read_msg_reply_all = $accesskey_read_msg_forward = $accesskey_read_msg_as_attach = $accesskey_read_msg_delete = $accesskey_read_msg_bypass_trash = - $accesskey_read_msg_move = $accesskey_read_msg_move_to = 'NONE'; + $accesskey_read_msg_move = $accesskey_read_msg_move_to = + $accesskey_read_msg_copy = 'NONE'; } $oTemplate->assign('accesskey_read_msg_reply', $accesskey_read_msg_reply); $oTemplate->assign('accesskey_read_msg_reply_all', $accesskey_read_msg_reply_all); @@ -691,6 +693,7 @@ function formatMenubar($aMailbox, $passed_id, $passed_ent_id, $message, $oTemplate->assign('accesskey_read_msg_bypass_trash', $accesskey_read_msg_bypass_trash); $oTemplate->assign('accesskey_read_msg_move_to', $accesskey_read_msg_move_to); $oTemplate->assign('accesskey_read_msg_move', $accesskey_read_msg_move); + $oTemplate->assign('accesskey_read_msg_copy', $accesskey_read_msg_copy); global $null; do_hook('read_body_menu', $null);