Skip to content

Commit

Permalink
Merge pull request #235 from argiepiano/1.x-2.x-issue-234
Browse files Browse the repository at this point in the history
Issue #234. Require file selection in rule import.
  • Loading branch information
argiepiano authored Jun 5, 2024
2 parents f51b9ba + 32b6eb5 commit 93adf5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/ui.forms.inc
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ function rules_ui_import_file_form($form, &$form_state, $base_path) {
'#type' => 'file',
'#title' => t('Import - upload'),
'#description' => t('Upload a Rules configuration file.'),
'#required' => TRUE,
);
$form['overwrite'] = array(
'#title' => t('Overwrite'),
Expand Down

0 comments on commit 93adf5b

Please sign in to comment.