Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 588-591 (lines=4) @@
585
        }
586
        // Encrypt email
587
        $hmail = '';
588
        for ($i = 0; $i < strlen($email); $i ++) {
589
            $hmail .= '&#'.ord($email {
590
            $i }).';';
591
        }
592
        $hclickable_text = null;
593
        // Encrypt clickable text if @ is present
594
        if (strpos($clickable_text, '@')) {
@@ 627-630 (lines=4) @@
624
        }
625
        // Encrypt email
626
        $hmail = '';
627
        for ($i = 0; $i < strlen($email); $i ++) {
628
            $hmail .= '&#'.ord($email {
629
            $i }).';';
630
        }
631
        // icon html code
632
        $icon_html_source = self::return_icon($icon_file, $hmail, '', $icon_size);
633
        // Return encrypted mailto hyperlink