mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- fixed small notices;
This commit is contained in:
@@ -425,7 +425,7 @@ function um_submit_form_errors_hook_( $args ) {
|
||||
*/
|
||||
do_action( 'um_add_error_on_form_submit_validation', $array, $key, $args );
|
||||
|
||||
if ( isset( $args[$key] ) ) {
|
||||
if ( isset( $args[ $key ] ) ) {
|
||||
|
||||
if ( isset( $array['required'] ) && $array['required'] == 1 ) {
|
||||
if ( ! isset( $args[$key] ) || $args[$key] == '' || $args[$key] == 'empty_file') {
|
||||
|
||||
Reference in New Issue
Block a user