Changeset ceeab9e in github


Ignore:
Timestamp:
Dec 6, 2009 3:02:29 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b68cb39
Parents:
a82dcd4
Message:
  • Allow setting only selected params in 'message_compose' hook (#1486312)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    ra82dcd4 rceeab9e  
    22=========================== 
    33 
     4- Allow setting only selected params in 'message_compose' hook (#1486312) 
    45- Plugin API: added 'message_compose_body' hook (#1486285) 
    56- Fix counters of all folders are checked in 'getunread' action  with check_all_folders disabled (#1486128) 
  • program/steps/mail/compose.inc

    ra82dcd4 rceeab9e  
    5656  // pipe compose parameters thru plugins 
    5757  $plugin = $RCMAIL->plugins->exec_hook('message_compose', $_SESSION['compose']); 
    58   $_SESSION['compose']['param'] = $plugin['param']; 
    59    
     58  $_SESSION['compose']['param'] = array_merge($_SESSION['compose']['param'], $plugin['param']);    
     59 
    6060  // add attachments listed by message_compose hook 
    6161  if (is_array($plugin['attachments'])) { 
Note: See TracChangeset for help on using the changeset viewer.