1
0
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:
Cameron
2021-01-09 09:09:12 -08:00
parent c8ba5fe30a
commit fa4900e2c4
4 changed files with 82 additions and 66 deletions

View File

@@ -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));
}