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

@ -8,6 +8,8 @@
- fixed #12240: Empty Extend Calendar Recurrance version tags
- fixed #12241: Account Shop
- fixed #12246: Layout inherits mobileStyleTemplateId and mobileTemplateId from parent Layouts
- fixed #12246: added extra_www_add_properties as properties fix-up hook in child for www_add
- fixed #12231: Thingy reindex fails on upgrade
7.10.22
- rfe #12223: Add date type to content profiling (metadata)

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;