Skip to content

Commit

Permalink
Manage columns include: rename form and remove multipart encoding
Browse files Browse the repository at this point in the history
The form in manage_columns_inc.php was apparently copy-pasted from
bug_report_page.php; it was named "report_bug_form" and an optional
multipart encoding if file upload is enabled, which does not make sense
in this context.

This code-cleanup commit removes the enctype and renames the form.

Fixes #15280

Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
  • Loading branch information
MatthieuR authored and dregad committed Dec 12, 2012
1 parent 378ad97 commit f92f1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_columns_inc.php
Expand Up @@ -78,7 +78,7 @@
?>

<div id="manage-columns-div" class="form-container">
<form id="manage-columns-form" method="post" <?php if ( file_allow_bug_upload() ) { echo 'enctype="multipart/form-data"'; } ?> action="manage_config_columns_set.php">
<form id="manage-columns-form" method="post" action="manage_config_columns_set.php">
<fieldset class="has-required">
<legend><span><?php echo lang_get( 'manage_columns_config' ) ?></span></legend>
<?php
Expand Down

0 comments on commit f92f1a0

Please sign in to comment.