Commit 215e2bbc authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix type extraction.

parent be64ba63
......@@ -563,9 +563,11 @@ sub NewVersion($$$$)
goto bad
if (!$query_result);
if ($query_result->numrows) {
$typelist = join(",", $query_result->fetchrow_array());
my @types = ();
while (my ($type) = $query_result->fetchrow_array()) {
push(@types, $type);
}
$typelist = join(",", @types);
#
# Now reset a few things in each table.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment