Permalink
Browse files

Manage columns include: rename form and remove multipart encoding

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...
1 parent b094035 commit 726891800654b87e4ed35afb9480dcaa53aec890 @MatthieuR MatthieuR committed with dregad Dec 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 manage_columns_inc.php
@@ -64,7 +64,7 @@
?>
<div align="center">
-<form name="report_bug_form" method="post" <?php if ( file_allow_bug_upload() ) { echo 'enctype="multipart/form-data"'; } ?> action="manage_config_columns_set.php">
+<form name="manage-columns-form" method="post" action="manage_config_columns_set.php">
<?php echo form_security_field( 'manage_config_columns_set' ) ?>
<table class="width50" cellspacing="1">

0 comments on commit 7268918

Please sign in to comment.