In function node_form() array_merge_recursive() is used to merge hooked array values. However, node_invoke() can return NULL but array_merge_recursive() requires that arg2 should be an array. Patch coming that uses the technique in node_load() to test for that.

I believe this is part of the overall E_ALL update for Drupal.

CommentFileSizeAuthor
#1 node.module_126177.patch.txt743 bytesAjK
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AjK’s picture

Status: Active » Needs review
FileSize
743 bytes

And here's the patch.

AjK’s picture

Priority: Minor » Normal

Chx just emailed devel regarding E_NOTICE: "Drupal core is now E_NOTICE free or it's supposed to be." So I'm raising this from minor to normal to gain visibility as it effects E_NOTICE

chx’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks AjK! :)

drumm’s picture

Committed to 5.

Anonymous’s picture

Status: Fixed » Closed (fixed)