summaryrefslogtreecommitdiff
path: root/inc/media.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/media.php')
-rw-r--r--inc/media.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php
index c25c214f4..25dc03ffa 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -311,7 +311,7 @@ function media_notify($id,$file,$mime){
$text = str_replace('@DOKUWIKIURL@',DOKU_URL,$text);
$text = str_replace('@USER@',$_SERVER['REMOTE_USER'],$text);
$text = str_replace('@MIME@',$mime,$text);
- $text = str_replace('@MEDIA@',DOKU_URL.ml($id,'',true,'&'),$text);
+ $text = str_replace('@MEDIA@',ml($id,'',true,'&',true),$text);
$text = str_replace('@SIZE@',filesize_h(filesize($file)),$text);
$from = $conf['mailfrom'];