Fatal error: Call to undefined function content_access() in editablefields.module on line 84
asciikewl - February 22, 2009 - 15:58
| Project: | editablefields |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Jump to:
Description
When trying to use the module I get:
Fatal error: Call to undefined function content_access() in editablefields.module on line 84
Replacing content_access with content_permissions_field_access seems to fix the problem for me, I've attached a patch that checks if you have content_permssions enables and uses that if you do.
| Attachment | Size |
|---|---|
| editablefields-fix-content-access.diff | 614 bytes |

#1
I have tested this and it works fine. Please commit. :)
#2
YOu shoudl update to the latest (dev) version of CCK, this patch is, I think, only valid on older versions of CCK.
Cheers
Mark.