mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 16:20:13 +02:00
PHP8 Fixes. Only attempt to load plugin language files when the languages folder exists. BC avatar function fix.
This commit is contained in:
@@ -26,7 +26,7 @@ function avatar($avatar)
|
||||
|
||||
$data = array('user_image' => $avatar);
|
||||
|
||||
return e107::getParser()->toAvatar($data, array('type'=>'url'));
|
||||
return e107::getParser()->toAvatar($data, array('type'=>'url', 'w'=>100, 'h'=>100));
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user