Ignore:
Timestamp:
Sep 16, 2011 1:53:35 PM (21 months ago)
Author:
thomasb
Message:

Fix session race conditions when composing new messages

File:
1 edited

Legend:

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

    r5188 r5226  
    3030 
    3131$COMPOSE_ID = get_input_value('_id', RCUBE_INPUT_GET); 
    32 $_SESSION['compose'] = $_SESSION['compose_data'][$COMPOSE_ID]; 
     32$_SESSION['compose'] = $_SESSION['compose_data_'.$COMPOSE_ID]; 
    3333 
    3434// Nothing below is called during message composition, only at "new/forward/reply/draft" initialization or 
     
    4040    raise_error(array('code' => 500, 'type' => 'php', 
    4141      'file' => __FILE__, 'line' => __LINE__, 
    42       'message' => "Invalid session"), true, true); 
     42      'message' => "Invalid compose ID"), true, true); 
    4343 
    4444  $_SESSION['compose'] = array( 
Note: See TracChangeset for help on using the changeset viewer.