Charles McNulty wrote:
To summarize the issues, the bug can be observed by following these steps:
- Login
- Click on the 'Round Cube Webmail' icon on the top left corner
- Mark any Read message as Unread - Observe that the Unread number does
not change in the folder list 4) Navigate to another folder by clicking on it on the left column 5) Navigate back to the Inbox - Observe that the Unread status has not been saved 6) repeat step 3. Observe that the Unread number now *does* change and that the status is correctly saved.
..
SESSION['mbox'] is only ever explicitly set in func.inc where it is assigned to a $_GET value.
I know this is hard to follow, but if anyone who can reproduce the error has any time to look at it or a decent way to work around it, I'd really appreciate it!
-Charles
Well, I finally figured it out and comitted code to fix this. I should have known from the fact that I couldn't figure out where the Session var was being set that it was a register globals issue. Anyway the fix was simply going through and renaming a whole slew of $mbox to a different variable name (mostly $mbox_name except where something else was a little better (like $new_mbox or $mbox_row) Anyway, please refrain from using $mbox or any other session variable names. I know it's stupid that people still have register globals on, but sometimes people don't have a choice.
-Charles