Fix a problem with case sensitivity when in Thingy's getFieldValue. Fixes bug #12231.

This commit is contained in:
Colin Kuskie 2011-09-08 09:52:45 -07:00
parent 622391b61d
commit d7218166bb
2 changed files with 3 additions and 1 deletions

View file

@ -1061,7 +1061,7 @@ sub getFieldValue {
# TODO: The otherThing field type is probably also handled by getFormPlugin, so the elsif below can probably be
# safely removed. However, this requires more testing than I can provide right now, so for now this stays the
# way it was.
elsif ($field->{fieldType} =~ m/^otherthing/x) {
elsif ($fieldType =~ m/^otherthing/x) {
my $otherThingId = $field->{fieldType};
$otherThingId =~ s/^otherThing_//x;
my $tableName = 'Thingy_'.$otherThingId;