Closed (fixed)
Project:
Vocabulary Permissions
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2008 at 16:15 UTC
Updated:
6 Mar 2010 at 00:36 UTC
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().
| Comment | File | Size | Author |
|---|---|---|---|
| vocabperms.module.patch | 989 bytes | nicholas_w |
Comments
Comment #1
jcisio commentedThat 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.