Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
015319d6
Commit
015319d6
authored
Dec 14, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#100850
by webchick et al: log field in {node_revisions} table has no default value.
parent
1a4d5f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/node/node.module
modules/node/node.module
+1
-1
No files found.
modules/node/node.module
View file @
015319d6
...
...
@@ -588,7 +588,7 @@ function node_save(&$node) {
'title'
=>
"'%s'"
,
'body'
=>
"'%s'"
,
'teaser'
=>
"'%s'"
,
'timestamp'
=>
'%d'
,
'uid'
=>
'%d'
,
'format'
=>
'%d'
);
if
(
!
empty
(
$node
->
log
))
{
if
(
!
empty
(
$node
->
log
)
||
$node
->
is_new
)
{
// Only store the log message if there's something to store; this prevents
// existing log messages from being unintentionally overwritten by a blank
// message. A new revision will have an empty log message (or $node->log).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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