Use correct test type POST variable for SMART. Fixes #9560

This commit is contained in:
jim-p 2019-05-28 15:11:35 -04:00
parent c92dbfc189
commit 5c3db9609d

View File

@ -107,7 +107,7 @@ switch ($action) {
// Testing devices
case 'test':
{
$test = $_POST['testType'];
$test = $_POST['type'];
if (!in_array($test, array_keys($test_types))) {
echo gettext("Invalid test type, bailing.");
return;