Commit c3d92dc2 authored by Dries's avatar Dries

- Patch #800030 by kcybulski: fxed PHP Notice: if you edit content type that...

- Patch #800030 by kcybulski: fxed PHP Notice: if you edit content type that is created witch has_title() = FALSE.
parent 8ab61807
......@@ -3290,6 +3290,7 @@ function _node_access_rebuild_batch_finished($success, $results, $operations) {
function node_content_form($node, $form_state) {
// It is impossible to define a content type without implementing hook_form()
// @todo: remove this requirement.
$form = array();
$type = node_type_get_type($node);
if ($type->has_title) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment