Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -31,6 +31,7 @@ class ipsConnect
|
||||
|
||||
define( 'IPS_ENFORCE_ACCESS', TRUE );
|
||||
define( 'IPB_THIS_SCRIPT', 'public' );
|
||||
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
|
||||
require_once( '../../initdata.php' );
|
||||
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
|
||||
@@ -97,6 +98,18 @@ class ipsConnect
|
||||
/* Check */
|
||||
if ( in_array( $identifier, array( 'id', 'email', 'username' ) ) )
|
||||
{
|
||||
if( $identifier == 'id' )
|
||||
{
|
||||
if( is_array( $identifierValue ) )
|
||||
{
|
||||
$identifierValue = IPSLib::cleanIntArray( $identifierValue );
|
||||
}
|
||||
else
|
||||
{
|
||||
$identifierValue = intval( $identifierValue );
|
||||
}
|
||||
}
|
||||
|
||||
$member = IPSMember::load( $identifierValue, 'none', $identifier );
|
||||
if ( $member['member_id'] )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user