diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-05-21 22:52:10 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-05-21 22:52:10 +0200 |
commit | 3e7e6067571e660cd835164c22d0973aa6343408 (patch) | |
tree | f8fec56e64a37035bab3db67ce39a6c247de7531 /inc/Mailer.class.php | |
parent | 5287f99cf079142a71032cbbfaffbd32a5bd6f3d (diff) | |
download | rpg-3e7e6067571e660cd835164c22d0973aa6343408.tar.gz rpg-3e7e6067571e660cd835164c22d0973aa6343408.tar.bz2 |
apply media_isexternal
Diffstat (limited to 'inc/Mailer.class.php')
-rw-r--r-- | inc/Mailer.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index f87d7dd84..cb5f22f54 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -192,7 +192,7 @@ class Mailer { // copy over all replacements missing for HTML (autolink URLs) foreach($textrep as $key => $value) { if(isset($htmlrep[$key])) continue; - if(preg_match('/^https?:\/\//i', $value)) { + if(media_isexternal($value)) { $htmlrep[$key] = '<a href="'.hsc($value).'">'.hsc($value).'</a>'; } else { $htmlrep[$key] = hsc($value); |