From 2c6e0839b63e0973de00212d60f9ad261eeb7a31 Mon Sep 17 00:00:00 2001 From: Jimako Date: Thu, 27 Oct 2022 11:34:46 +0200 Subject: [PATCH] #4897 class parameter for CB_AVATAR shortcode Closes #4897 --- e107_plugins/chatbox_menu/chatbox_menu_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/chatbox_menu/chatbox_menu_shortcodes.php b/e107_plugins/chatbox_menu/chatbox_menu_shortcodes.php index 5ad1a35b7..88907896f 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu_shortcodes.php +++ b/e107_plugins/chatbox_menu/chatbox_menu_shortcodes.php @@ -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'])) {