diff --git a/include/class.forms.php b/include/class.forms.php
index 8a876388a9eee212fa3e30eeaedc3c03438bc6cd..bff57fc4c81885f9648510c6d3725e8c990d67e7 100644
--- a/include/class.forms.php
+++ b/include/class.forms.php
@@ -1105,6 +1105,7 @@ class ThreadEntryWidget extends Widget {
         <input type="file" class="multifile" name="attachments[]" id="attachments" size="30" value="" />
         </div>
         <font class="error">&nbsp;<?php echo $errors['attachments']; ?></font>
+        </div>
         <hr/>
         <?php
         }