Version 4.3.0

This commit is contained in:
Neo committed 2025-12-19 05:47:12 -08:00
1 parent 96997ddd8e
commit fe1acf984a
1349 files changed
+116159 -67711

No files matched your search

@@ -81,9 +81,12 @@ class _topContributors extends \IPS\Widget\PermissionCache
$topContributorsThisWeek = array_slice( $topContributorsThisWeek, 0, $limit, TRUE );
/* Load their data */
foreach ( \IPS\Db::i()->select( '*', 'core_members', \IPS\Db::i()->in( 'member_id', array_keys( $topContributorsThisWeek ) ) ) as $member )
if( count( $topContributorsThisWeek ) )
{
\IPS\Member::constructFromData( $member );
foreach ( \IPS\Db::i()->select( '*', 'core_members', \IPS\Db::i()->in( 'member_id', array_keys( $topContributorsThisWeek ) ) ) as $member )
{
\IPS\Member::constructFromData( $member );
}
}
/* Display */