Add the message as a parameter to subject_link hook since it could be useful too
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 18 May 2007 06:57:25 +0000 (06:57 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 18 May 2007 06:57:25 +0000 (06:57 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12410 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 32254de2c8c29763861f9299b0ad0ee4453e0c10..1b8187003bb15d83d33a7a7b871d8efcd5969b0e 100644 (file)
@@ -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 */