mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 18:46:20 +02:00
Fixes #4162 - Handle chatbox nick names with a "." in them.
This commit is contained in:
@ -61,7 +61,7 @@ class chatbox_menu_shortcodes extends e_shortcode
|
||||
*/
|
||||
protected function getUserNameFromNick()
|
||||
{
|
||||
$temp = explode('.', $this->var['cb_nick']);
|
||||
$temp = explode('.', $this->var['cb_nick'], 2);
|
||||
return $temp[1];
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ class chatbox_menu_shortcodes extends e_shortcode
|
||||
*
|
||||
* @param $parm
|
||||
*
|
||||
* @return <img> tag of avatar
|
||||
* @return string <img> tag of avatar
|
||||
*/
|
||||
public function sc_cb_avatar($parm = null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user