summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index fadf71b03..144f8e48c 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1107,7 +1107,7 @@ function notify($id,$who,$rev='',$summary='',$minor=false,$replace=array()){
$text = str_replace('@SUMMARY@',$summary,$text);
$text = str_replace('@USER@',$_SERVER['REMOTE_USER'],$text);
$text = str_replace('@NAME@',$INFO['userinfo']['name'],$text);
- $text = str_replace('@MAIL',$INFO['userinfo']['mail'],$text);
+ $text = str_replace('@MAIL@',$INFO['userinfo']['mail'],$text);
foreach ($replace as $key => $substitution) {
$text = str_replace('@'.strtoupper($key).'@',$substitution, $text);