I'm getting the error
Notice: Array to string conversion in biblio_token_info() (line 8 of ..../biblio/biblio.tokens.inc).
I think there was some mention of a similar error (different function) being fixed in the -dev version but I am using 7.x-1.0-dev. (I have strict warnings enabled.)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1815032-1.patch | 536 bytes | Anonymous (not verified) |
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.