Code Duplication    Length = 2-2 lines in 2 locations

classes/fields/datetime.php 1 location

@@ 355-356 (lines=2) @@
352
        if ( 'c' != $format_value ) {
353
            if ( 12 == pods_var( self::$type . '_time_type', $options ) )
354
                $format .= ' ' . $time_format[ pods_var( self::$type . '_time_format', $options, 'hh_mm', null, true ) ];
355
            else
356
                $format .= ' ' . $time_format_24[ pods_var( self::$type . '_time_format_24', $options, 'hh_mm', null, true ) ];
357
        }
358
359
        return $format;

classes/fields/time.php 1 location

@@ 294-295 (lines=2) @@
291
292
        if ( 12 == pods_var( self::$type . '_type', $options ) )
293
            $format = $time_format[ pods_var( self::$type . '_format', $options, 'hh_mm', null, true ) ];
294
        else
295
            $format = $time_format_24[ pods_var( self::$type . '_format_24', $options, 'hh_mm', null, true ) ];
296
297
        return $format;
298
    }