Explorar el Código

Add the message as a parameter to subject_link hook since it could be useful too

pdontthink hace 18 años
padre
commit
d657b8c751
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
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 */