From d4f3c15c87c4c1389465b018560086d78ad6f9f6 Mon Sep 17 00:00:00 2001
From: Marcin Wosinek <marcin.wosinek@gmail.com>
Date: Tue, 31 Jul 2012 15:25:05 +0200
Subject: [PATCH] Issue #1627654 by joachim, marcin.wosinek: fix doc for drupal_redirect_form

---
 core/includes/form.inc |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/core/includes/form.inc b/core/includes/form.inc
index 0c9cd5d..fbe9f89 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -1215,13 +1215,13 @@ function drupal_validate_form($form_id, &$form, &$form_state) {
  *
  * There are several triggers that may prevent a redirection though:
  * - If $form_state['redirect'] is FALSE, a form builder function or form
- *   validation/submit handler does not want a user to be redirected, which
- *   means that drupal_goto() is not invoked. For most forms, the redirection
- *   logic will be the same regardless of whether $form_state['redirect'] is
- *   undefined or FALSE. However, in case it was not defined and the current
- *   request contains a 'destination' query string, drupal_goto() will redirect
- *   to that given destination instead. Only setting $form_state['redirect'] to
- *   FALSE will prevent any redirection.
+ *   validation/submit handler does not want a user to be redirected, and
+ *   no rediration will be invoked. For most forms, the redirection logic will
+ *   be the same regardless of whether $form_state['redirect'] is undefined
+ *   or FALSE. However, in case it was not defined and the current request
+ *   contains a 'destination' query string, drupal_goto() will redirect to that
+ *   given destination instead. If both are defined, the 'destination' query
+ *   string is used.
  * - If $form_state['no_redirect'] is TRUE, then the callback that originally
  *   built the form explicitly disallows any redirection, regardless of the
  *   redirection value in $form_state['redirect']. For example, ajax_get_form()
-- 
1.7.4.1

