diff --git a/feed.php b/feed.php index a98c8b159693d7e566f204d71a940e670b2ad0f8..e7ea5808c2e7bc51d2cc36d9de745bfa836b6c79 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