diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 038f1e4f397..f12a59d1032 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3226,6 +3226,10 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ $fakey = 'fa-crop'; $facolor = '#444'; } + elseif ($pictowithouttext == 'generic') { + $fakey = 'fa-file'; + $fa = 'far'; + } elseif ($pictowithouttext == 'note') { $fakey = 'fa-sticky-note'; $fa = 'far';