Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c8d126be
Commit
c8d126be
authored
May 17, 2002
by
Kjartan Mannes
Browse files
- bug fix
parent
71c7b846
Changes
1
Hide whitespace changes
Inline
Side-by-side
update.php
View file @
c8d126be
...
...
@@ -187,7 +187,7 @@ function update_7() {
case
"book"
:
case
"page"
:
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 />"
;
break
;
default
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment