Commit 4c6dfe7e authored by Kevin Kaland's avatar Kevin Kaland
Browse files

Issue #2538428 by wizonesolutions: Fix wrong default value handling.

parent aa084df9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -394,7 +394,7 @@ function fillpdf_form_edit($form, &$form_state, $fid) {
  $form['extra']['scheme'] = array(
    '#type' => 'radios',
    '#title' => t('Storage system for generated PDFs'),
    '#default_value' => variable_get('fillpdf_scheme', isset($scheme_options['public']) ? 'public' : key($options)),
    '#default_value' => !empty($pdf_form->scheme) ? $pdf_form->scheme : fillpdf_default_scheme(),
    '#options' => $scheme_options,
    '#description' => t('This setting is used as the storage/download method for generated PDFs. The use of public files is more efficient, but does not provide any access control. Changing this setting will require you to migrate associated files and data yourself and is not recommended after you have uploaded a template.'),
  );