Closed (fixed)
Project:
Revisioning
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2012 at 15:36 UTC
Updated:
18 Apr 2013 at 02:45 UTC
When using _revisioning_delete_revision from revisioning_api.inc, Drupal gives the following error:
Recoverable fatal error: Object of class stdClass could not be converted to string in _revisioning_delete_revision() (line 414 of /Applications/MAMP/htdocs/sites/all/modules/revisioning/revisioning_api.inc).
The culprit is on ln 414:
module_invoke_all('node_' . $node_revision, 'delete revision');
$node_revision is a Node object, not a string.
Comments
Comment #1
rdeboerDarn! Thanks for your report.
Rik
Comment #2
rdeboerFixed with latest check-in. See 7.x-1.x-dev snapshot.