mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
Issue #2294 - Reset avatar size when not set.
This commit is contained in:
parent
8b7224f087
commit
8deaa4e851
@ -75,6 +75,12 @@ class forum_newforumposts_menu // plugin folder + menu name (without the .php)
|
||||
|
||||
if($results = $sql->gen($qry))
|
||||
{
|
||||
|
||||
if($tp->thumbWidth() > 250) // Fix for unset image size.
|
||||
{
|
||||
$tp->setThumbSize(40,40,true);
|
||||
}
|
||||
|
||||
$list = "<ul class='media-list newforumposts-menu'>";
|
||||
|
||||
while($row = $sql->fetch())
|
||||
|
Loading…
x
Reference in New Issue
Block a user