diff --git a/htdocs/core/boxes/box_task.php b/htdocs/core/boxes/box_task.php
index ed267493e97..94983ef6bff 100644
--- a/htdocs/core/boxes/box_task.php
+++ b/htdocs/core/boxes/box_task.php
@@ -127,15 +127,17 @@ class box_task extends ModeleBoxes
$boxcontent .= '';
$boxcontent .= ''."\n";
$boxcontent .= ''."\n";
- $boxcontent .= '';
- // set cookie by js
- $boxcontent .= '';
+ ';
+ // set cookie by js
+ $boxcontent .= '';
+ }
$this->info_box_contents[0][] = array(
'tr'=>'class="nohover showiffilter'.$this->boxcode.' hideobject"',
'td' => 'class="nohover"',