Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | node.module_126177.patch.txt | 743 bytes | AjK |
Comments
Comment #1
AjK CreditAttribution: AjK commentedAnd here's the patch.
Comment #2
AjK CreditAttribution: AjK commentedChx 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
Comment #3
chx CreditAttribution: chx commentedComment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks AjK! :)
Comment #5
drummCommitted to 5.
Comment #6
(not verified) CreditAttribution: commented