- web: fixed typo that cause bad (and slow) query

when notifying user of friend acceptance on web

svn path=/trunk/boinc/; revision=14840
This commit is contained in:
David Anderson 2008-03-04 21:17:09 +00:00
parent dc97aeef57
commit d6ec0b2b5b
2 changed files with 8 additions and 1 deletions

View File

@ -1830,3 +1830,10 @@ Charlie Mar 4 2008
ViewProjectsGrid.cpp,h
ViewTransfersGrid.cpp,h
ViewWorkGrid.cpp,h
David Mar 4 2008
- web: fixed typo that cause bad (and slow) query
when notifying user of friend acceptance on web
html/inc
friend.inc

View File

@ -9,7 +9,7 @@ function friend_notify_req_email_line($notify) {
}
function friend_notify_accept_email_line($notify) {
$src_user = BoincUser::lookup($notify->opaque);
$src_user = BoincUser::lookup_id($notify->opaque);
if (!$src_user) return "";
return "$src_user->name has confirmed you as a friend";
}