Code Duplication    Length = 2-2 lines in 2 locations

modules/shortcodes/presentations.php 2 locations

@@ 176-177 (lines=2) @@
173
			$this->presentation_settings['scale'] = floatval( $atts['scale'] );
174
		}
175
176
		if ( '' != trim( $atts['rotate'] ) ) {
177
			$this->presentation_settings['rotate'] = floatval( $atts['rotate'] );
178
		}
179
180
		if ( '' != trim( $atts['fade'] ) ) {
@@ 300-301 (lines=2) @@
297
		}
298
299
		// Setting the content rotation
300
		if ( '' == trim( $atts['rotate'] ) ) {
301
			$atts['rotate'] = $this->presentation_settings['rotate'];
302
		}
303
304
		if ( '' == trim( $atts['rotate'] ) ) {