Code Duplication    Length = 4-4 lines in 2 locations

modules/shortcodes/archiveorg-book.php 1 location

@@ 66-69 (lines=4) @@
63
64
	$id = $atts['id'];
65
66
	if ( ! $atts['width'] ) {
67
		$width = absint( $content_width );
68
	} else {
69
		$width = intval( $atts['width'] );
70
	}
71
72
	if ( ! $atts['height'] ) {

modules/shortcodes/archiveorg.php 1 location

@@ 68-71 (lines=4) @@
65
66
	$id = $atts['id'];
67
68
	if ( ! $atts['width'] ) {
69
		$width = absint( $content_width );
70
	} else {
71
		$width = intval( $atts['width'] );
72
	}
73
74
	if ( ! $atts['height'] ) {