summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-10-25 21:48:08 -0400
committerMalf Furious <m@lfurio.us>2018-10-25 21:48:08 -0400
commitd73d8ccf9b009a522080f7fec08bf9f23962e1c9 (patch)
treeafd1efe0422f6cfc2aaf22ff8608ada76acb5edf
parentb50b994af2df3453dbc2a1015a297c2b28e4b209 (diff)
downloadscrott-d73d8ccf9b009a522080f7fec08bf9f23962e1c9.tar.gz
scrott-d73d8ccf9b009a522080f7fec08bf9f23962e1c9.zip
issue: Fix bug in iss-mesg-add form
Since this form submits a file upload, we need it to be set enctype="multipart/form-data". Signed-off-by: Malf Furious <m@lfurio.us>
-rw-r--r--app/view/issue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/issue.php b/app/view/issue.php
index 9b3910c..9fc4a42 100644
--- a/app/view/issue.php
+++ b/app/view/issue.php
@@ -116,7 +116,7 @@ require_once "class/issue.class.php";
</div>
<?php } ?>
- <form method="post" action="<?=ap()?>">
+ <form method="post" action="<?=ap()?>" enctype="multipart/form-data">
<?=\formctrl\formname( "iss-mesg-add" )?>
<?=\formctrl\hidden( "issue", $i->guid )?>
<?=\formctrl\textarea( "New message", "mesg", 5 )?>