diff --git a/tools/generate_tables_sql_and_testNames.php b/tools/generate_tables_sql_and_testNames.php index c2fa1b787dd..94e53919712 100755 --- a/tools/generate_tables_sql_and_testNames.php +++ b/tools/generate_tables_sql_and_testNames.php @@ -30,10 +30,10 @@ $pages = []; foreach ($instruments as $instrument) { $catId = ""; + $output = "": $items = explode("\n", trim($instrument)); foreach ($items as $item) { $paramId = ""; - $output = ""; $bits = explode("{@}", trim($item)); if (preg_match("/Examiner[0-9]*/", $bits[1])) { continue;