Navigation Menu

Skip to content

Commit

Permalink
Fix missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 13, 2012
1 parent 2be6955 commit ef6d8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/2011-02-01/configuration.js
Expand Up @@ -230,9 +230,9 @@ function createDefineIndexFieldResponse(options) {
}

function getFieldOption(option, request, type) {
if (fieldType == 'text')
if (type == 'text')
return request.query['TextOptions.' + option];
if (fieldType == 'literal')
if (type == 'literal')
return request.query['LiteralOptions.' + option];
else
return request.query['UIntOptions.' + option];
Expand Down

0 comments on commit ef6d8f8

Please sign in to comment.