From 522afd8e7b548dbee56208300393c1724faaf5f2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Feb 2019 13:11:02 +0100 Subject: [PATCH] Fix font awesome 5 --- htdocs/core/lib/functions.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 67217f9837f..a678b141339 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3015,6 +3015,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ elseif ($pictowithoutext == 'edit') { $fakey = 'fa-pencil'; $facolor = '#444'; + if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fakey = 'fa-pencil-alt'; } elseif ($pictowithoutext == 'filter') { $fakey = 'fa-'.$pictowithoutext;