Duplicate FAPI redirect rule?

douggreen - August 30, 2008 - 21:21
Project:Coder
Version:6.x-1.x-dev
Component:Review/Rules
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

    array(
      '#type' => 'regex',
      '#function' => '_confirm_submit$',
      '#value' => 'return [\'"]',
      '#warning' => 'in confirm_submit, use $form_state[\'redirect\'] instead of return (remember to change function prototype to use &$form_state) ',
    ),
    array(
      '#type' => 'regex',
      '#function' => '_confirm_submit$',
      '#value' => 'return [\'"]',
      '#warning' => 'in confirm_form, use $form_state[\'redirect\'] instead of return (remember to change function prototype to use &$form_state) ',
    ),

#1

douggreen - August 30, 2008 - 21:29
Title:Why do we have two rules that do the same thing, but print slightly different messages?» Duplicate FAPI redirect rule?

#2

stella - August 31, 2008 - 10:50

That's a bug, the second one should be removed.

#3

stella - August 31, 2008 - 11:18
Status:active» fixed

Fixed and committed.

Cheers,
Stella

#4

Anonymous (not verified) - September 14, 2008 - 11:23
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.