- hotfix, removed PHP notices and warnings;

This commit is contained in:
nikitozzzzzzz
2017-10-31 15:49:48 +02:00
parent cb504d635e
commit b2a67974bd
4 changed files with 19 additions and 7 deletions
+3
View File
@@ -150,6 +150,9 @@
foreach ( $array['conditions'] as $condition ) {
list( $visibility, $parent_key, $op, $parent_value ) = $condition;
if ( ! isset( $args[ $parent_key ] ) )
continue;
$cond_value = ( $fields[ $parent_key ]['type'] == 'radio' ) ? $args[ $parent_key ][0] : $args[ $parent_key ];
if ( $visibility == 'hide' ) {