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

6.x
Dries Buytaert 2007-03-07 12:59:22 +00:00
parent 9f91274a5b
commit 0be18f09ed
1 changed files with 3 additions and 1 deletions

View File

@ -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;