summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
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