Commit 0be18f09 authored by Dries's avatar Dries
Browse files

- Patch #125418 by hunmonk: make #skip_duplicate_check easier to use.

parent 9f91274a
...@@ -285,7 +285,9 @@ function drupal_prepare_form($form_id, &$form) { ...@@ -285,7 +285,9 @@ function drupal_prepare_form($form_id, &$form) {
global $user; global $user;
$form['#type'] = 'form'; $form['#type'] = 'form';
$form['#skip_duplicate_check'] = FALSE; if (!isset($form['#skip_duplicate_check'])) {
$form['#skip_duplicate_check'] = FALSE;
}
if (!isset($form['#post'])) { if (!isset($form['#post'])) {
$form['#post'] = $_POST; $form['#post'] = $_POST;
......
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