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
0be18f09
Commit
0be18f09
authored
Mar 07, 2007
by
Dries Buytaert
Browse files
- Patch
#125418
by hunmonk: make #skip_duplicate_check easier to use.
parent
9f91274a
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/form.inc
View file @
0be18f09
...
...
@@ -285,7 +285,9 @@ function drupal_prepare_form($form_id, &$form) {
global
$user
;
$form
[
'#type'
]
=
'form'
;
$form
[
'#skip_duplicate_check'
]
=
FALSE
;
if
(
!
isset
(
$form
[
'#skip_duplicate_check'
]))
{
$form
[
'#skip_duplicate_check'
]
=
FALSE
;
}
if
(
!
isset
(
$form
[
'#post'
]))
{
$form
[
'#post'
]
=
$_POST
;
...
...
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