From: <pdo...@us...> - 2020-07-11 04:31:19
|
Revision: 14867 http://sourceforge.net/p/squirrelmail/code/14867 Author: pdontthink Date: 2020-07-11 04:31:18 +0000 (Sat, 11 Jul 2020) Log Message: ----------- Add MIME type parameters ("type0", "type1") to the end of the plugin arguments for all attachment hooks Modified Paths: -------------- trunk/squirrelmail/functions/mime.php Modified: trunk/squirrelmail/functions/mime.php =================================================================== --- trunk/squirrelmail/functions/mime.php 2020-07-11 04:14:56 UTC (rev 14866) +++ trunk/squirrelmail/functions/mime.php 2020-07-11 04:31:18 UTC (rev 14867) @@ -598,7 +598,8 @@ returning any changes, changes should simply be made to the original arguments themselves. */ $temp = array(&$links, &$startMessage, &$id, &$urlMailbox, &$ent, - &$defaultlink, &$display_filename, &$where, &$what); + &$defaultlink, &$display_filename, &$where, &$what, + $type0, $temp1); do_hook("attachment $type0/$type1", $temp); /* The API for this hook has changed as of 1.5.2 so that all plugin arguments are passed in an array instead of each their own plugin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |