@@ -31,8 +31,8 @@ |
||
31 | 31 | |
32 | 32 | foreach ( array( 'image', 'color', 'repeat', 'position', 'size', 'attachment' ) as $key ) { |
33 | 33 | $key = 'background-' . $key; |
34 | - if ( isset( $value[ $key ] ) && ! empty( $value[ $key ] ) ) { |
|
35 | - $this->styles[ $output['media_query'] ][ $output['element'] ][ $key ] = $output['prefix'] . $this->process_property_value( $key, $value[ $key ] ) . $output['suffix']; |
|
34 | + if ( isset( $value[$key] ) && ! empty( $value[$key] ) ) { |
|
35 | + $this->styles[$output['media_query']][$output['element']][$key] = $output['prefix'] . $this->process_property_value( $key, $value[$key] ) . $output['suffix']; |
|
36 | 36 | } |
37 | 37 | } |
38 | 38 | } |