Code Duplication    Length = 3-3 lines in 2 locations

modules/likes.php 1 location

@@ 481-483 (lines=3) @@
478
				}
479
			}
480
481
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
482
				$options['global']['show'] = $data['show'];
483
			}
484
		} else {
485
			$options['global']['show'] = array();
486
		}

modules/sharedaddy/sharing-service.php 1 location

@@ 301-303 (lines=3) @@
298
				}
299
			}
300
301
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
302
				$options['global']['show'] = $data['show'];
303
			}
304
		}
305
306
		update_option( 'sharing-options', $options );