diff --git a/inc/common.php b/inc/common.php index 4e5a2e197f4b86005acc6b9e61625aed1df83347..fadf71b03fbd46497c8a9a3d47eaac770d0cd34d 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1106,6 +1106,8 @@ function notify($id,$who,$rev='',$summary='',$minor=false,$replace=array()){ $text = str_replace('@DOKUWIKIURL@',DOKU_URL,$text); $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); foreach ($replace as $key => $substitution) { $text = str_replace('@'.strtoupper($key).'@',$substitution, $text);