issue: reply option to mark announced publication
[minimedit.git] / upload.inc.php
index d87fa2d8f4e3bbcb9d14de3debe11ef970eebe6f..ff4ecd3755aaa7ba695b098ebf78b48187bd9261 100644 (file)
@@ -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)) {