Commit c8d126be authored by Kjartan's avatar Kjartan

- bug fix

parent 71c7b846
...@@ -187,7 +187,7 @@ function update_7() { ...@@ -187,7 +187,7 @@ function update_7() {
case "book": case "book":
case "page": case "page":
case "blog": case "blog":
node_save($node, array("nid", "body" => $old->body, "teaser" => ($old->abstract ? $old->abstract : node_teaser($old->body_old)))); node_save($node, array("nid", "body" => $old->body_old, "teaser" => ($old->abstract ? $old->abstract : node_teaser($old->body_old))));
print "updated node $node->nid '$node->title' ($node->type)<br />"; print "updated node $node->nid '$node->title' ($node->type)<br />";
break; break;
default: default:
......
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