Code Duplication    Length = 3-3 lines in 4 locations

classes/fields/currency.php 4 locations

@@ 279-281 (lines=3) @@
276
277
		$currency = 'usd';
278
279
		if ( isset( self::$currencies[ pods_v( self::$type . '_format_sign', $options, -1 ) ] ) ) {
280
			$currency = pods_v( self::$type . '_format_sign', $options );
281
		}
282
283
		$currency_sign = self::$currencies[ $currency ]['sign'];
284
		$currency_label = self::$currencies[ $currency ]['label'];
@@ 409-411 (lines=3) @@
406
407
		$currency = 'usd';
408
409
		if ( isset( self::$currencies[ pods_v( self::$type . '_format_sign', $options, -1 ) ] ) ) {
410
			$currency = pods_v( self::$type . '_format_sign', $options );
411
		}
412
413
		$currency_sign = self::$currencies[ $currency ];
414
@@ 468-470 (lines=3) @@
465
466
		$currency = 'usd';
467
468
		if ( isset( self::$currencies[ pods_v( self::$type . '_format_sign', $options, -1 ) ] ) ) {
469
			$currency = pods_v( self::$type . '_format_sign', $options );
470
		}
471
472
		$currency_sign = self::$currencies[ $currency ]['sign'];
473
		$currency_entity = self::$currencies[ $currency ]['entity'];
@@ 553-555 (lines=3) @@
550
551
		$currency = 'usd';
552
553
		if ( isset( self::$currencies[ pods_v( self::$type . '_format_sign', $options, -1 ) ] ) ) {
554
			$currency = pods_v( self::$type . '_format_sign', $options );
555
		}
556
557
		$currency_sign = self::$currencies[ $currency ]['sign'];
558
		$currency_entity = self::$currencies[ $currency ]['entity'];