Skip to content
Snippets Groups Projects
Commit 0bda0363 authored by Adrian Lang's avatar Adrian Lang
Browse files

Fix feed author mail after variable name change

Ignore-this: ae4838a9a494746190a1c2c00838fe85

darcs-hash:20091214121831-e4919-e2cd550ff9d486a2681f1958f451c9f24bdaa577.gz
parent 0caf582d
No related branches found
No related tags found
No related merge requests found
......@@ -265,14 +265,14 @@ function rss_buildItems(&$rss,&$data,$opt){
$item->authorEmail = $userInfo['mail'];
}else{
//cannot obfuscate because some RSS readers may check validity
$item->authorEmail = $user.'@'.$recent['ip'];
$item->authorEmail = $user.'@'.$ditem['ip'];
}
}elseif($user){
// this happens when no ACL but some Apache auth is used
$item->author = $user;
$item->authorEmail = $user.'@'.$recent['ip'];
$item->authorEmail = $user.'@'.$ditem['ip'];
}else{
$item->authorEmail = 'anonymous@'.$recent['ip'];
$item->authorEmail = 'anonymous@'.$ditem['ip'];
}
// add category
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment