Commit 726fac05 authored by Russ Fish's avatar Russ Fish

Another minor fix.

parent ee003de7
......@@ -398,7 +398,7 @@ foreach my $argkey (keys(%editnodetype_args)) {
$attr_name = $attr_type = $argkey;
$attr_name =~ s/^attr_${wordpat}_(.*)$/$1/;
if ($argkey =~ /_(os|image)id$/) {
if ($argkey =~ /_(osid|imageid)$/) {
# Special case: the type is the LAST part of the name for ID attrs.
$attr_type = $1;
}
......
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