Commit 617fe51e authored by webchick's avatar webchick

#315739 by sun: Fix logic of block form action.

parent a4065554
......@@ -38,7 +38,7 @@ function block_admin_display_form(&$form_state, $blocks, $theme = NULL) {
// Build the form tree.
$form = array(
'#action' => arg(3) ? url('admin/build/block/list/' . $theme_key) : url('admin/build/block'),
'#action' => arg(4) ? url('admin/build/block/list/' . $theme_key) : url('admin/build/block'),
'#tree' => TRUE,
);
......
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