Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris--S committed Oct 3, 2010
2 parents 6d58f78 + 060ab50 commit c34bbd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion inc/common.php
Expand Up @@ -1128,7 +1128,11 @@ function notify($id,$who,$rev='',$summary='',$minor=false,$replace=array()){
$diff = rawWiki($id);
}
$text = str_replace('@DIFF@',$diff,$text);
$subject = '['.$conf['title'].'] '.$subject;
if(utf8_strlen($conf['title']) < 20) {
$subject = '['.$conf['title'].'] '.$subject;
}else{
$subject = '['.utf8_substr($conf['title'], 0, 20).'...] '.$subject;
}

$from = $conf['mailfrom'];
$from = str_replace('@USER@',$_SERVER['REMOTE_USER'],$from);
Expand Down

0 comments on commit c34bbd2

Please sign in to comment.