diff --git a/src/Glpi/Search/Provider/SQLProvider.php b/src/Glpi/Search/Provider/SQLProvider.php index 2aa10bc33e3..57e5fec07c8 100644 --- a/src/Glpi/Search/Provider/SQLProvider.php +++ b/src/Glpi/Search/Provider/SQLProvider.php @@ -6067,7 +6067,7 @@ public static function giveItem( if ($html_output) { $plaintext = \htmlspecialchars($plaintext); } - $plaintext = nl2br($$plaintext); + $plaintext = nl2br($plaintext); } if ($html_output && (\Toolbox::strlen($plaintext) > $CFG_GLPI['cut'])) {