ezsystems/ezpublish-legacy — pull request #689 by yannickroger (2013-07-17 13:57:34+00:00)
Title: Fix EZP-21155: DebugByUser is not working correctly in preview

# Description
When debugByUser was used, a user could see the debug in the preview, even if it was not activated for him.

The debugByUser setting was erased when loading the new site access. I added an update of the setting right after that.

# Test
Manual test on firefox.