Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

@@ -3,19 +3,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Member stats functions
* Last Updated: $Date: 2012-11-08 12:08:29 -0500 (Thu, 08 Nov 2012) $
* Last Updated: $Date: 2013-11-15 13:16:48 -0500 (Fri, 15 Nov 2013) $
* </pre>
*
* @author $Author: AndyMillne $
* @author $Author: rashbrook $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @since 20th February 2002
* @version $Revision: 11578 $
* @version $Revision: 12413 $
*
*/
@@ -350,15 +350,24 @@ class public_forums_extras_stats extends ipsCommand
//-----------------------------------------
/* Got groups? */
/*
if ( count( $group_ids ) )
{
$whereClause[] = $this->DB->buildWherePermission( array_keys( $group_ids ), 'm.member_group_id', FALSE );
}*/
if ( count( $group_ids ) )
{
$whereClause[] = "m.member_group_id IN(" . IPSText::cleanPermString( implode( ',', array_keys( $group_ids ) ) ) . ")";
}
/* Got members? */
if ( count( $member_ids ) )
/*if ( count( $member_ids ) )
{
$whereClause[] = $this->DB->buildWherePermission( array_keys( $member_ids ), 'm.member_id', FALSE );
}*/
if ( count( $member_ids ) )
{
$whereClause[] = "m.member_id IN(" . IPSText::cleanPermString( implode( ',', array_keys( $member_ids ) ) ) . ")";
}
/* So we got something? If not skip the whole thing.. */