Skip to content

Commit

Permalink
Fix: Study thumbnail upload fails with a 400 error
Browse files Browse the repository at this point in the history
  • Loading branch information
mah0001 committed Feb 22, 2024
1 parent b4ec0b8 commit b28240f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/catalog/thumbnail.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</button>
</div>
<div class="modal-body">
<?php echo form_open_multipart('api/datasets/thumbnail/'.$idno, 'style="margin-left:10px;"');?>
<?php echo form_open_multipart('api/datasets/thumbnail/'.$idno, 'style="margin-left:10px;" id="form-thumbnail"');?>

<div class="form-group">
<input type="file" class="form-control" name="file" id="thumbnail-file" xstyle="width:100px;">
Expand Down

0 comments on commit b28240f

Please sign in to comment.