summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2009-12-14 13:18:31 +0100
committerAdrian Lang <lang@cosmocode.de>2009-12-14 13:18:31 +0100
commit0bda03632fea147f862c813751f59535d5a01072 (patch)
tree3b45e5289a227e10f4620c4c54b296ccd6e28afc /feed.php
parent0caf582d2624e30db6d85b65b0e752036af183a8 (diff)
downloadrpg-0bda03632fea147f862c813751f59535d5a01072.tar.gz
rpg-0bda03632fea147f862c813751f59535d5a01072.tar.bz2
Fix feed author mail after variable name change
Ignore-this: ae4838a9a494746190a1c2c00838fe85 darcs-hash:20091214121831-e4919-e2cd550ff9d486a2681f1958f451c9f24bdaa577.gz
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/feed.php b/feed.php
index a98c8b159..e7ea5808c 100644
--- a/feed.php
+++ b/feed.php
@@ -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