diff --git a/include/class.forms.php b/include/class.forms.php
index 5253fa55affb06552035de3e40e3fd56b45ad816..dd5477cc966d1f5650c347b1c461f75543dc7275 100644
--- a/include/class.forms.php
+++ b/include/class.forms.php
@@ -1221,7 +1221,7 @@ class ThreadEntryWidget extends Widget {
             && !$cfg->allowAttachmentsOnlogin())
             || ($cfg->allowAttachmentsOnlogin()
                 && ($thisclient && $thisclient->isValid()))) { ?>
-        <div class="clear"><div>
+        <div class="clear"></div>
         <hr/>
         <div><strong style="padding-right:1em;vertical-align:top">Attachments: </strong>
         <div style="display:inline-block">