Posted by nicholas_w on March 22, 2008 at 4:15pm
Jump to:
| Project: | Vocabulary Permissions |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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().
| Attachment | Size |
|---|---|
| vocabperms.module.patch | 989 bytes |
Comments
#1
That works, too. But according to the API:
That's how the code implements. I don't know why it didn't work for you.
Close the issue because it is too old. Feel free to re-open it if having problem.