6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7748] setting $RECOMPOSE to true not possible when logged out
*
Your Email Address
*
Spam protection
Enter the letters below:
. . __. __..__ .__. |\ |(__ (__ [__)[__] | \|.__).__)| \| |
Comment
> 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 > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers