mirror of
https://github.com/e107inc/e107.git
synced 2025-07-13 02:56:28 +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()
|
protected function getUserNameFromNick()
|
||||||
{
|
{
|
||||||
$temp = explode('.', $this->var['cb_nick']);
|
$temp = explode('.', $this->var['cb_nick'], 2);
|
||||||
return $temp[1];
|
return $temp[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ class chatbox_menu_shortcodes extends e_shortcode
|
|||||||
*
|
*
|
||||||
* @param $parm
|
* @param $parm
|
||||||
*
|
*
|
||||||
* @return <img> tag of avatar
|
* @return string <img> tag of avatar
|
||||||
*/
|
*/
|
||||||
public function sc_cb_avatar($parm = null)
|
public function sc_cb_avatar($parm = null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user