[Tickets #7748] Re: setting $RECOMPOSE to true not possible when logged out
bugs at horde.org
bugs at horde.org
Tue Dec 2 20:48:39 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7748
------------------------------------------------------------------------------
Ticket | 7748
Updated By | coleman at boulder.nist.gov
Summary | setting $RECOMPOSE to true not possible when logged out
Queue | IMP
Version | 4.3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
coleman at boulder.nist.gov (2008-12-02 15:36) wrote:
User will lose content in the compose window when logged out because
the section of code in imp/lib/base.php where $RECOMPOSE is set to
true can never be executed because $compose_page will always be false
when logged out.
On line 53 $compose_page will be set to false because $_SESSION['imp']
will be null after being logged out.
$compose_page = (isset($_SESSION['imp']['viewmode']) &&
$_SESSION['imp']['viewmode'] == 'imp') && strstr($_SERVER['PHP_SELF'],
'compose.php');
Line 102 and 122 will never be executed since lines 101 and 121 will
be false due to the results of line 53
More information about the bugs
mailing list