This module adds a Settings section in the user profile page with the option to toggle the user status, which is fine. The small problem is that the Settings header remains visible to the user even if they do not have the proper permissions to change their user status. This results in the Settings section being empty. It would be better if the header would only show up when there are options to display (when the user has the proper permissions).
Comments
Comment #1
neofpo commentedI can also confirm this bug. Pretty annoying, should be easy to fix in theory.
Comment #2
neofpo commentedUpdate:
I managed to fix the issue. At line 87 of fasttoggle.module, change the function to:
I made no in depth verifications, some author should review this patch before applying it. It seems to work for me, use at risk.
Comment #3
kkaefer commentedThanks for reporting and providing a patch! The original bug report somehow slipped through my issue queue reviews... This is now fixed in 5 and 6.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.