Completed
Push — master ( d57ce4...fa4f4c )
by Stephanie
03:01
created
classes/models/FrmTableHTMLGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,12 +83,12 @@  discard block
 block discarded – undo
83 83
 		) );
84 84
 
85 85
 		foreach ( $this->style_settings as $key => $setting ) {
86
-			if ( isset( $atts[ $key ] ) && $atts[ $key ] !== '' ) {
87
-				$this->style_settings[ $key ] = $atts[ $key ];
86
+			if ( isset( $atts[$key] ) && $atts[$key] !== '' ) {
87
+				$this->style_settings[$key] = $atts[$key];
88 88
 			}
89 89
 
90 90
 			if ( $this->is_color_setting( $key ) ) {
91
-				$this->style_settings[ $key ] = $this->get_color_markup( $this->style_settings[ $key ] );
91
+				$this->style_settings[$key] = $this->get_color_markup( $this->style_settings[$key] );
92 92
 			}
93 93
 		}
94 94
 	}
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 *
159 159
 	 * @return boolean
160 160
 	 */
161
-	private function is_color_setting ( $setting_key ) {
161
+	private function is_color_setting( $setting_key ) {
162 162
 		return strpos( $setting_key, 'color' ) !== false;
163 163
 	}
164 164
 
Please login to merge, or discard this patch.