Permissions not saved

nicholas_w - March 22, 2008 - 16:15
Project:Vocabulary Permissions
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

After installing the module, I found that permissions were not being saved. I tracked it down to a minor issue in the form api implementation. Previously the code was using $form['#submit'] to define the submit handler for this module, but the '#submit' key is an attribute of the submit form type to indicate whether a button submits the form, according to the api. So I've created a simple patch here that applies the submit handler via hook_taxonomy().

AttachmentSize
vocabperms.module.patch989 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.