Skip to content
Snippets Groups Projects
Commit b9ee6a44 authored by Klap-in's avatar Klap-in
Browse files

apply media_isexternal in ml()

parent 3faed524
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment