Commit ac7de32b authored by webchick's avatar webchick
Browse files

#320395 by qutoz and swentel: Fix PHP notice on preview with body-less nodes.

parent d1855fe1
...@@ -968,6 +968,7 @@ function node_submit($node) { ...@@ -968,6 +968,7 @@ function node_submit($node) {
} }
else { else {
$node->teaser = ''; $node->teaser = '';
$node->format = 0;
} }
} }
......
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