Team import bug

Added quotes around team import script path to handle spaces

(DBOINCP-59)
This commit is contained in:
Tristan Olive 2014-03-25 00:44:04 -04:00
parent 3b9c8132d6
commit 362b4fd619
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ function boincimport_teams() {
// Save the team type affiliation
$tid = $team_type_map[$boincteam->type];
$memberships_assigned = (int) exec("php {$team_import_script} {$boincteam->id} {$tid} {$input_format}");
$memberships_assigned = (int) exec("php '{$team_import_script}' {$boincteam->id} {$tid} {$input_format}");
// Keep a running tally of things and provide occasional status updates
$teams_imported++;