git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
issue: admin option to edit subjects
[minimedit.git]
/
upload.inc.php
diff --git
a/upload.inc.php
b/upload.inc.php
index d87fa2d8f4e3bbcb9d14de3debe11ef970eebe6f..ff4ecd3755aaa7ba695b098ebf78b48187bd9261 100644
(file)
--- a/
upload.inc.php
+++ b/
upload.inc.php
@@
-84,6
+84,9
@@
function createcomment($input, &$Issue = NULL)
$reply['raw'] = $body;
$reply['message'] = messagehtml($body);
}
+ if (isset($input['announce'])) {
+ $reply['announced'] = !!$input['announce'];
+ }
if ($_FILES and !empty($_FILES['image'])) {
$target = 'data/upload';
if (!file_exists($target)) {