mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- code review for pull request (#917)
This commit is contained in:
@@ -217,8 +217,8 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
||||
if ( ! empty( $filter_type ) ) {
|
||||
if ( 'slider' === $filter_type ) {
|
||||
if ( ! empty( $_POST[ $k ] ) ) {
|
||||
if ( count($_POST[ $k ]) > 1 ) {
|
||||
$temp_value[ $k ] = $_POST[ $k ];
|
||||
if ( count( $_POST[ $k ] ) > 1 ) {
|
||||
$temp_value[ $k ] = array_map( 'intval', $_POST[ $k ] );
|
||||
} else {
|
||||
$temp_value[ $k ] = (int) $_POST[ $k ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user