From: pdontthink Date: Fri, 18 May 2007 06:57:25 +0000 (+0000) Subject: Add the message as a parameter to subject_link hook since it could be useful too X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=c2c0a41046fc903cbca8b2482cc93ff52c2fa041 Add the message as a parameter to subject_link hook since it could be useful too git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12410 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 32254de2..1b818700 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -606,7 +606,7 @@ function prepareMessageList(&$aMailbox, $aProps) { // $onclick, $link_extra, $title, and so forth) // plugins are responsible for sharing nicely (such as for // setting the target, etc) - do_hook('subject_link', $temp=array(&$iPageOffset, &$sSearch, &$aSearch)); + do_hook('subject_link', $temp=array(&$iPageOffset, &$sSearch, &$aSearch, $aMsg)); } $value = (trim($value)) ? $value : _("(no subject)"); /* add thread indentation */