Changeset 416bff5 in github


Ignore:
Timestamp:
Mar 23, 2010 6:01:32 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:
d50b857
Parents:
9e8d8587
Message:
  • Allow to override identity when composing a message (#1486466)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/compose.inc

    rb575fa9 r416bff5  
    378378        $MESSAGE->compose_from[] = $sql_arr['email']; 
    379379 
    380       if (empty($_POST['_from'])) 
     380      if (empty($_POST['_from']) && empty($_SESSION['compose']['param']['from'])) 
    381381      { 
    382382        // set draft's identity 
     
    392392    if (!empty($_POST['_from'])) 
    393393      $from_id = get_input_value('_from', RCUBE_INPUT_POST); 
     394    else if (!empty($_SESSION['compose']['param']['from'])) 
     395      $from_id = $_SESSION['compose']['param']['from']; 
    394396 
    395397    $out = $select_from->show($from_id); 
Note: See TracChangeset for help on using the changeset viewer.