Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since "help" and "min_word_count" are optional when defining a node (see http://api.drupal.org/api/HEAD/function/hook_node_info ) for a node type, we should provide a default value in _node_type_set_defaults() (node.module).
This caused 4 php notices when doing a fresh drupal installation of head.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
node.module_0_0.patch | 656 bytes | Jo Wouters | |
Comments
Comment #1
webchickLooks good to me. Still applies with offset.
Blog.module yields the min_word_count notice... I haven't gotten anything in core to spit out one about help, but it's conceivable that there are contrib modules out there that don't define a help.
Comment #2
Dries CreditAttribution: Dries commentedCommitted. Thanks.
Comment #3
drummCommitted to 5.
Comment #4
(not verified) CreditAttribution: commented