| @@ 1964-1968 (lines=5) @@ | ||
| 1961 | $field = array_merge( $this->pod->fields[ $field['name'] ], $field ); |
|
| 1962 | } |
|
| 1963 | ||
| 1964 | if ( pods_v( 'hidden', $field, false, null, true ) || 'hidden' === $field['type'] ) { |
|
| 1965 | continue; |
|
| 1966 | } elseif ( ! PodsForm::permission( $field['type'], $field['name'], $field['options'], $fields, $pod, $pod->id() ) ) { |
|
| 1967 | continue; |
|
| 1968 | } |
|
| 1969 | ||
| 1970 | $fields[ $field['name'] ] = $field; |
|
| 1971 | ||
| @@ 4092-4096 (lines=5) @@ | ||
| 4089 | $field = array_merge( $this->fields[ $field['name'] ], $field ); |
|
| 4090 | } |
|
| 4091 | ||
| 4092 | if ( pods_v( 'hidden', $field, false, true ) || 'hidden' === $field['type'] ) { |
|
| 4093 | continue; |
|
| 4094 | } elseif ( ! PodsForm::permission( $field['type'], $field['name'], $field['options'], $fields, $pod, $pod->id() ) ) { |
|
| 4095 | continue; |
|
| 4096 | } |
|
| 4097 | ||
| 4098 | $fields[ $field['name'] ] = $field; |
|
| 4099 | }//end foreach |
|