Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 578-581 (lines=4) @@
575
        }
576
        // Encrypt email
577
        $hmail = '';
578
        for ($i = 0; $i < strlen($email); $i ++) {
579
            $hmail .= '&#'.ord($email {
580
            $i }).';';
581
        }
582
        $hclickable_text = null;
583
        // Encrypt clickable text if @ is present
584
        if (strpos($clickable_text, '@')) {
@@ 617-620 (lines=4) @@
614
        }
615
        // Encrypt email
616
        $hmail = '';
617
        for ($i = 0; $i < strlen($email); $i ++) {
618
            $hmail .= '&#'.ord($email {
619
            $i }).';';
620
        }
621
        // icon html code
622
        $icon_html_source = self::return_icon($icon_file, $hmail, '', $icon_size);
623
        // Return encrypted mailto hyperlink