Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
015319d6
Commit
015319d6
authored
Dec 14, 2006
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#100850
by webchick et al: log field in {node_revisions} table has no default value.
parent
1a4d5f42
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/node/node.module
+1
-1
1 addition, 1 deletion
modules/node/node.module
with
1 addition
and
1 deletion
modules/node/node.module
+
1
−
1
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).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment