summaryrefslogtreecommitdiff
path: root/inc/media.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-06-13 21:15:42 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-06-13 21:15:42 +0200
commit55b2b31ba4b8953e4396fc55a1176293671bc638 (patch)
treeda00215a05d119d05b3313a7d7922f747c8c8609 /inc/media.php
parent9426a41aa622ea7c282f451c3274f167307f428d (diff)
downloadrpg-55b2b31ba4b8953e4396fc55a1176293671bc638.tar.gz
rpg-55b2b31ba4b8953e4396fc55a1176293671bc638.tar.bz2
fixed URL in file upload notify mail FS#1160
darcs-hash:20070613191542-7ad00-0e72b3c40f9593838641be5c4e728a8e1a68d550.gz
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'];