- small notices fixes;

- fixed issue #344;
This commit is contained in:
nikitozzzzzzz
2017-11-14 12:36:44 +02:00
parent e664c328d0
commit ef653c29d3
3 changed files with 36 additions and 16 deletions
+1 -1
View File
@@ -1404,7 +1404,7 @@ if ( ! class_exists( 'Admin_Settings' ) ) {
$filtered_settings[$key] = $value;
foreach( $fields as $field ) {
if ( $field['id'] == $key && $field['type'] == 'multi_text' ) {
if ( $field['id'] == $key && isset( $field['type'] ) && $field['type'] == 'multi_text' ) {
$filtered_settings[$key] = array_filter( $settings[$key] );
}
}