I was getting error messages like notice: Undefined property: stdClass::$title_label when installing a module I was working on, even though I had defined 'has_label' => FALSE in my hook_node_info().
node_type_save() already accounts for a missing body_label. This patch accounts for a missing title_label.
| Comment | File | Size | Author |
|---|---|---|---|
| title_label_patch.diff | 1.24 KB | davideads |
Comments
Comment #1
davideads commentedMistitled. Sorry about that.
Comment #2
dave reidFrom http://api.drupal.org/api/function/hook_node_info/6 it looks like you're supposed to use 'has_title' => FALSE.
Comment #3
dave reidDid you get this issue fixed?
Comment #4
dpearcefl commentedClosing this issue because of a lack of activity.