function ctools_block_content_type_edit_form_submit

Submit function to fix the subtype for really old panel panes.

File

plugins/content_types/block/block.inc, line 203

Code

function ctools_block_content_type_edit_form_submit($form, &$form_state) {
    if (empty($form_state['subtype']) && isset($form_state['pane'])) {
        $form_state['pane']->subtype = $form_state['conf']['module'] . '-' . $form_state['conf']['delta'];
        unset($form_state['conf']['module']);
        unset($form_state['conf']['delta']);
    }
}