1
0
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:
Cameron 2017-01-17 11:52:30 -08:00
parent 8b7224f087
commit 8deaa4e851

View File

@ -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())