1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Merge pull request #4898 from Jimmi08/patch-2

Closes #4897 class parameter for CB_AVATAR shortcode
This commit is contained in:
Cameron 2022-10-29 08:28:01 -07:00 committed by GitHub
commit 810599df5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class chatbox_menu_shortcodes extends e_shortcode
$tp = e107::getParser();
$size = !empty($parm['size']) ? $parm['size'] : 40;
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape' => varset($parm['shape']));
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape' => varset($parm['shape']), 'class'=> varset($parm['class']));
if(!isset($this->var['user_image']))
{