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
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.

AttachmentSize
editablefields-fix-content-access.diff614 bytes

#1

psynaptic - February 27, 2009 - 16:50
Status:needs review» reviewed & tested by the community

I have tested this and it works fine. Please commit. :)

#2

markfoodyburton - March 2, 2009 - 09:09

YOu shoudl update to the latest (dev) version of CCK, this patch is, I think, only valid on older versions of CCK.

Cheers

Mark.

 
 

Drupal is a registered trademark of Dries Buytaert.