mirror of https://github.com/BOINC/boinc.git
Drupal: harden team email list RPC wrapper
This commit is contained in:
parent
eed66cc916
commit
e2f0f1b9fd
|
@ -1099,7 +1099,7 @@ function boinccore_team_email_list() {
|
|||
$account_key = !empty($_POST['account_key']) ? $_POST['account_key'] : $_GET['account_key'];
|
||||
$show_xml = !empty($_POST['xml']) ? $_POST['xml'] : $_GET['xml'];
|
||||
$admin_request = FALSE;
|
||||
if ($boincteam_id) {
|
||||
if ($boincteam_id && is_numeric($boincteam_id)) {
|
||||
if ($account_key) {
|
||||
// See if this is a team admin
|
||||
db_set_active('boinc');
|
||||
|
|
Loading…
Reference in New Issue