Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a problem with case sensitivity when in Thingy's getFieldValue. F…
…ixes bug #12231.
  • Loading branch information
perlDreamer committed Sep 8, 2011
1 parent 622391b commit d721816
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/changelog/7.x.x.txt
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset/Wobject/Thingy.pm
Expand Up @@ -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;
Expand Down

0 comments on commit d721816

Please sign in to comment.