Code Duplication    Length = 2-2 lines in 2 locations

modules/shortcodes/presentations.php 2 locations

@@ 172-173 (lines=2) @@
169
			$this->presentation_settings['transition'] = $atts['transition'];
170
		}
171
172
		if ( '' != trim( $atts['scale'] ) ) {
173
			$this->presentation_settings['scale'] = floatval( $atts['scale'] );
174
		}
175
176
		if ( '' != trim( $atts['rotate'] ) ) {
@@ 285-286 (lines=2) @@
282
		}
283
284
		// Setting the content scale
285
		if ( '' == trim( $atts['scale'] ) ) {
286
			$atts['scale'] = $this->presentation_settings['scale'];
287
		}
288
289
		if ( '' == trim( $atts['scale'] ) ) {