When the content type form is saved, extra variables are saved as the search_restrict_roles variable isn't unset. This patch ensures that the custom submit function runs first, unsets the variable after saving, and adds an update hook to clean up existing installations.

CommentFileSizeAuthor
remove_extra_variables.patch1.9 KBdeviantintegral

Comments

robert castelo’s picture

Status: Needs review » Fixed

Well spotted, fixed in 6.x-1.1 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.