mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed: PHP notices and warnings
- fixed: security vulnerability with User Account page and password field
This commit is contained in:
@@ -3741,11 +3741,14 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$sort_col = array();
|
||||
foreach ( $arr as $key => $row ) {
|
||||
if ( $key == 'form_id' ) {
|
||||
unset( $arr['form_id'] );
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( isset( $row[ $col ] ) ) {
|
||||
$sort_col[ $key ] = $row[ $col ];
|
||||
} else {
|
||||
unset( $arr[ $key ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user