Block quick switch users not properly saved

deviantintegral - September 2, 2009 - 03:01
Project:Masquerade
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

#415800: Masquerade quick switch menu link doesn't appear broke saving quick switch users. The previous logic relied on the submit function being called before the system form submit function, which is no longer the case. This patch explicitly saves the variable during our custom submit function.

AttachmentSize
block_quick_switch_variable_save.patch782 bytes

#1

webavant - September 2, 2009 - 05:51
Status:needs review» reviewed & tested by the community

Excellent work! That did the job for me. Thanks!

#2

deviantintegral - September 4, 2009 - 17:07
Status:reviewed & tested by the community» fixed

I've committed this to 6.x-1.x-dev.

#3

NigelCunningham - September 10, 2009 - 05:37
Status:fixed» closed

Confirmed - the fix works for me too.

 
 

Drupal is a registered trademark of Dries Buytaert.