Skip to content
Snippets Groups Projects
Commit e429c365 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Be a little more forgiving when checking list of deployed seeds.

parent a8ac69b4
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,8 @@ if (!is_null($deployfromlist)) {
$dataproblem = false;
$deploytxt = optional_param('deployfromlist', null, PARAM_TEXT);
$newseeds = explode("\n", $deploytxt);
// Trim off any whitespace.
$newseeds = explode("\n", trim($deploytxt));
foreach ($newseeds as $var => $seed) {
// Clean up whitespace.
$newseeds[$var] = trim($seed);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment