Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 6015-6017 (lines=3) @@
6012
                    if (preg_match($regexUrl, $val2, $url)) {
6013
                        $val2 = preg_replace($regexUrl, "<a href=\"{$url[0]}\" target=\"_blank\">{$url[0]}</a> ", $val2);
6014
                    }
6015
                    if (preg_match($regexEmail, $val2, $url)) {
6016
                        $val2 = preg_replace($regexEmail, '<a href="mailto:\\1' . $emailSubject . '">\\1</a>', $val2);
6017
                    }
6018
                    $parsed[$key][$key2] = $val2;
6019
                }
6020
            } else {
@@ 6025-6027 (lines=3) @@
6022
                if (preg_match($regexUrl, $val, $url)) {
6023
                    $val = preg_replace($regexUrl, "<a href=\"{$url[0]}\" target=\"_blank\">{$url[0]}</a> ", $val);
6024
                }
6025
                if (preg_match($regexEmail, $val, $url)) {
6026
                    $val = preg_replace($regexEmail, '<a href="mailto:\\1' . $emailSubject . '">\\1</a>', $val);
6027
                }
6028
                $parsed[$key] = $val;
6029
            }
6030
        }