Changeset 3166 in subversion


Ignore:
Timestamp:
Dec 6, 2009 3:02:29 AM (3 years ago)
Author:
alec
Message:
  • Allow setting only selected params in 'message_compose' hook (#1486312)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r3165 r3166  
    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) 
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r3165 r3166  
    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.