mirror of https://github.com/BOINC/boinc.git
- 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:
parent
dc97aeef57
commit
d6ec0b2b5b
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue