diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-06-09 23:04:52 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-06-09 23:04:52 +0200 |
commit | b9ee6a44e7499b5c2e9f117096cedc769ef2e25d (patch) | |
tree | 02da2d36de97cab43263c7c13e2a84c0de81216d | |
parent | 3faed524fdb5c7c51a60a92e9715dd5425389c35 (diff) | |
download | rpg-b9ee6a44e7499b5c2e9f117096cedc769ef2e25d.tar.gz rpg-b9ee6a44e7499b5c2e9f117096cedc769ef2e25d.tar.bz2 |
apply media_isexternal in ml()
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 59ceb0c0d..5f045e72d 100644 --- a/inc/common.php +++ b/inc/common.php @@ -435,7 +435,7 @@ function exportlink($id = '', $format = 'raw', $more = '', $abs = false, $sep = */ function ml($id = '', $more = '', $direct = true, $sep = '&', $abs = false) { global $conf; - $isexternalimage = preg_match('#^(https?|ftp)://#i', $id); + $isexternalimage = media_isexternal($id); if(!$isexternalimage) { $id = cleanID($id); } |