mirror of
https://github.com/webmin/webmin.git
synced 2026-08-08 00:40:37 +01:00
Columns in index might be quoted https://sourceforge.net/p/webadmin/bugs/5588/
This commit is contained in:
@@ -1013,6 +1013,9 @@ if ($info->{'create'} =~ /using\s+(\S+)\s/) {
|
||||
}
|
||||
if ($info->{'create'} =~ /\((.*)\)/) {
|
||||
$info->{'cols'} = [ split(/\s*,\s*/, $1) ];
|
||||
foreach my $c (@{$info->{'cols'}}) {
|
||||
$c =~ s/^"(.*)"$/$1/;
|
||||
}
|
||||
}
|
||||
|
||||
return $info;
|
||||
|
||||
Reference in New Issue
Block a user