mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
Issue #2294 - Reset avatar size when not set.
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user