Code Duplication    Length = 4-4 lines in 2 locations

main/inc/lib/display.lib.php 2 locations

@@ 759-762 (lines=4) @@
756
        }
757
        // Encrypt email
758
        $hmail = '';
759
        for ($i = 0; $i < strlen($email); $i ++) {
760
            $hmail .= '&#'.ord($email {
761
            $i }).';';
762
        }
763
        $hclickable_text = null;
764
        // Encrypt clickable text if @ is present
765
        if (strpos($clickable_text, '@')) {
@@ 798-801 (lines=4) @@
795
        }
796
        // Encrypt email
797
        $hmail = '';
798
        for ($i = 0; $i < strlen($email); $i ++) {
799
            $hmail .= '&#'.ord($email {
800
            $i }).';';
801
        }
802
        // icon html code
803
        $icon_html_source = self::return_icon($icon_file, $hmail, '', $icon_size);
804
        // Return encrypted mailto hyperlink