Download & Extend

Duplicate FAPI redirect rule?

Project:Coder
Version:6.x-1.x-dev
Component:Review/Rules
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

    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) ',
    ),

Comments

#1

Title:Why do we have two rules that do the same thing, but print slightly different messages?» Duplicate FAPI redirect rule?

#2

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

#3

Status:active» fixed

Fixed and committed.

Cheers,
Stella

#4

Status:fixed» closed (fixed)

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

nobody click here