1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

Fixed error in {XURL_ICONS} shortcode. Added a test. Fixed some warnings in the admin/language page.

This commit is contained in:
Cameron
2021-01-25 17:57:34 -08:00
parent ef8844b019
commit 76dbd4469e
5 changed files with 41 additions and 12 deletions

View File

@@ -90,11 +90,11 @@ class social_shortcodes extends e_shortcode
);
// print_a($social);
$class = (!empty($parm['size'])) ? 'fa-'.$parm['size'] : '';
$class .= (isset($parm['class'])) ? (string) $parm['class'] : $class;
$class = (isset($parm['class'])) ? (string) $parm['class'] : '';
$class .= (!empty($parm['size'])) ? 'fa-'.$parm['size'] : '';
if(!empty($parm['type']))
{
$newList = array();