Code Duplication    Length = 3-3 lines in 2 locations

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 );

modules/likes.php 1 location

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