Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -2,18 +2,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Moderator actions
|
||||
* Last Updated: $Date: 2013-05-01 17:35:09 -0400 (Wed, 01 May 2013) $
|
||||
* Last Updated: $Date: 2014-11-11 15:53:26 -0500 (Tue, 11 Nov 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @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
|
||||
* @version $Revision: 12211 $
|
||||
* @version $Revision: 12568 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -4048,17 +4048,27 @@ class public_forums_moderate_moderate extends ipsCommand
|
||||
/* Check js saved ids */
|
||||
if( $this->request[ $fieldJS ] )
|
||||
{
|
||||
$jsIds = explode( ',', $this->request[ $fieldJS ] );
|
||||
if ( is_array( $this->request[ $fieldJS ] ) )
|
||||
{
|
||||
$jsIds = $this->request[ $fieldJS ];
|
||||
}
|
||||
else
|
||||
{
|
||||
$jsIds = explode( ',', $this->request[ $fieldJS ] );
|
||||
}
|
||||
|
||||
if( is_array( $jsIds ) && count( $jsIds ) )
|
||||
{
|
||||
foreach( $jsIds as $_id )
|
||||
{
|
||||
$ids[] = $_id;
|
||||
if ( !empty( $_id ) )
|
||||
{
|
||||
$ids[] = $_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( count( $ids ) < 1 )
|
||||
{
|
||||
$this->_showError( 'mod_no_tid', 103118 );
|
||||
|
||||
Reference in new issue
Block a user