Code Duplication    Length = 4-4 lines in 2 locations

modules/shortcodes/archiveorg-book.php 1 location

@@ 62-65 (lines=4) @@
59
60
	$id = $atts['id'];
61
62
	if ( ! $atts['width'] ) {
63
		$width = absint( $content_width );
64
	} else {
65
		$width = intval( $atts['width'] );
66
	}
67
68
	if ( ! $atts['height'] ) {

modules/shortcodes/archiveorg.php 1 location

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