diff --git a/htdocs/bom/bom_card.php b/htdocs/bom/bom_card.php
index 885fb4b26a3..15a7385f891 100644
--- a/htdocs/bom/bom_card.php
+++ b/htdocs/bom/bom_card.php
@@ -501,7 +501,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$MAXEVENT = 10;
- $morehtmlright = '';
+ $morehtmlright = '';
$morehtmlright.= $langs->trans("SeeAll");
$morehtmlright.= '';
diff --git a/htdocs/modulebuilder/template/myobject_card.php b/htdocs/modulebuilder/template/myobject_card.php
index 64a0eb008fa..da6f3c5a466 100644
--- a/htdocs/modulebuilder/template/myobject_card.php
+++ b/htdocs/modulebuilder/template/myobject_card.php
@@ -504,7 +504,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$MAXEVENT = 10;
- $morehtmlright = '';
+ $morehtmlright = '';
$morehtmlright.= $langs->trans("SeeAll");
$morehtmlright.= '';