X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/ed1cd294e32647b117688b25a465889e4664fe03..4acdd7f1c3b2b78933d7953e8777df73af3189aa:/upload.inc.php diff --git a/upload.inc.php b/upload.inc.php index d87fa2d..ff4ecd3 100644 --- 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)) {