Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2012 at 05:59 UTC
Updated:
19 Jan 2013 at 17:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedarray_diff() is not recursive and $schema['fields'] contains nested arrays. Solution is adding array_keys():
$fields = array_diff(array_keys($schema['fields']), array('nid', 'vid', 'biblio_format'));Patch attached.
Comment #2
rjerome commentedThanks for the patch, while it removed the error, it didn't do what I intended.
I've pushed a fix that does both.
http://drupalcode.org/project/biblio.git/commit/1febb8e
Ron.