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 b094035 commit 7268918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_columns_inc.php
Expand Up @@ -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">

Expand Down

0 comments on commit 7268918

Please sign in to comment.