Active
Project:
User Related Content
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2008 at 18:45 UTC
Updated:
21 May 2008 at 18:45 UTC
hi!
When I have this module enabled on my site and try to save changes on edit node, the changes dont save and I get returned back to the form. It also does this when trying to save a new node.
Ive narrowed it down to this function below in user_related_content.module (approx line 145)
function user_related_content_nodeapi(&$node, $op, $arg = 0) {
switch ($op) {
case 'validate':
return user_related_content_node_validate($node);
case 'update':
case 'insert':
return user_related_content_node_save($node);
case 'delete':
return user_related_content_node_delete($node);
}
}
When I remove this from the file I can edit and save nodes as normal.
thanks
John