Completed
Push — master ( adf79c...3fa9d1 )
by Jamie
03:51 queued 01:11
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 ] !== '' ) {
86
+			if ( isset( $atts[$key] ) && $atts[$key] !== '' ) {
87 87
 
88 88
 				if ( $this->is_color_setting( $key ) ) {
89
-					$this->style_settings[ $key ] = $this->get_color_markup( $atts[ $key ] );
89
+					$this->style_settings[$key] = $this->get_color_markup( $atts[$key] );
90 90
 				} else {
91
-					$this->style_settings[ $key ] = $atts[ $key ];
91
+					$this->style_settings[$key] = $atts[$key];
92 92
 				}
93 93
 			}
94 94
 		}
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 	 *
160 160
 	 * @return boolean
161 161
 	 */
162
-	private function is_color_setting ( $setting_key ) {
162
+	private function is_color_setting( $setting_key ) {
163 163
 		return strpos( $setting_key, 'color' ) !== false;
164 164
 	}
165 165
 
Please login to merge, or discard this patch.