mirror of https://github.com/BOINC/boinc.git
- web: don't error out on old-style notice URL
svn path=/trunk/boinc/; revision=23506
This commit is contained in:
parent
0bafa188b0
commit
bffeeb0851
|
@ -2792,3 +2792,11 @@ David 5 May 2011
|
|||
|
||||
html/inc/
|
||||
util.inc
|
||||
|
||||
David 5 May 2011
|
||||
- web: don't error out on old-style notice URL
|
||||
|
||||
sched/
|
||||
validator.cpp
|
||||
html/user/
|
||||
friend.php
|
||||
|
|
|
@ -121,7 +121,7 @@ function handle_add_confirm($user) {
|
|||
//
|
||||
function handle_query($user) {
|
||||
$target_userid = get_int('target_userid', true);
|
||||
if ($target_userid != $user->id) {
|
||||
if ($target_user && $target_userid != $user->id) {
|
||||
$target_user = BoincUser::lookup_id($target_userid);
|
||||
page_head(tra("Please log in as %1", $target_user->name));
|
||||
echo tra("You must log in as %1 to view this friend request",
|
||||
|
|
|
@ -646,7 +646,7 @@ int main(int argc, char** argv) {
|
|||
int i, retval;
|
||||
|
||||
const char *usage =
|
||||
"\nUsage: %s -app <app-name> [OPTIONS]\n"
|
||||
"\nUsage: %s --app <app-name> [OPTIONS]\n"
|
||||
"Start validator for application <app-name>\n\n"
|
||||
"Optional arguments:\n"
|
||||
" --one_pass_N_WU N Validate at most N WUs, then exit\n"
|
||||
|
|
Loading…
Reference in New Issue