diff options
author | Adrian Lang <lang@cosmocode.de> | 2009-12-14 13:18:31 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2009-12-14 13:18:31 +0100 |
commit | 0bda03632fea147f862c813751f59535d5a01072 (patch) | |
tree | 3b45e5289a227e10f4620c4c54b296ccd6e28afc /feed.php | |
parent | 0caf582d2624e30db6d85b65b0e752036af183a8 (diff) | |
download | rpg-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.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |