mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Remove notices
This commit is contained in:
@@ -281,12 +281,12 @@
|
||||
|
||||
foreach ($array['conditions'] as $key => $value) {
|
||||
$metakey = $fields[ $value[1] ]['metakey'] ;
|
||||
$arr_conditions[ $metakey ] = $_POST[ $metakey ];
|
||||
$arr_conditions[ $metakey ] = isset( $_POST[ $metakey ] )? $_POST[ $metakey ]: '';
|
||||
}
|
||||
|
||||
foreach ($array['conditions'] as $key => $value) {
|
||||
$metakey = $fields[ $value[1] ]['metakey'] ;
|
||||
$arr_conditions[ $metakey ] = $_POST[ $metakey ];
|
||||
$arr_conditions[ $metakey ] = isset( $_POST[ $metakey ] )? $_POST[ $metakey ]: '';
|
||||
if( isset( $_POST[ $metakey ] ) && isset( $array['conditional_value'] ) && $_POST[ $metakey ] !== $array['conditional_value'] ){
|
||||
$array['required'] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user