mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Issue #2240 - Possible BC fixes.
This commit is contained in:
@@ -22,8 +22,10 @@ if (!defined('e107_INIT'))
|
||||
*/
|
||||
function avatar($avatar)
|
||||
{
|
||||
|
||||
return e107::getParser()->parseTemplate("{USER_AVATAR=".$avatar."}",true);
|
||||
$data = array('user_image' => $avatar);
|
||||
|
||||
return e107::getParser()->toAvatar($data, array('type'=>'url'));
|
||||
// return e107::getParser()->parseTemplate("{USER_AVATAR=".$avatar."}",true);
|
||||
|
||||
/*
|
||||
global $tp;
|
||||
|
Reference in New Issue
Block a user