2
0
forked from Wavyzz/dolibarr

Fix font awesome 5 regressions

This commit is contained in:
Laurent Destailleur
2019-02-27 13:54:39 +01:00
parent c4e96e9f74
commit 29cfa03fa4

View File

@@ -3081,7 +3081,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
elseif ($pictowithoutext == 'jabber') {
$fakey = 'fa-comment-o';
}
elseif ($pictowithoutext == 'skype') {
elseif (in_array($pictowithoutext, array('skype', 'twitter', 'facebook', 'linkedin'))) {
$fakey = 'fa-'.$pictowithoutext;
if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fa = 'fab';
}