Skip to content

Instantly share code, notes, and snippets.

@artlung
Created May 10, 2017 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artlung/16b88c810ab5892a8a3ef2ede9d9cc06 to your computer and use it in GitHub Desktop.
Save artlung/16b88c810ab5892a8a3ef2ede9d9cc06 to your computer and use it in GitHub Desktop.
LUAERROR:[string "line"]:143: bad argument #3 to 'gsub' (string/function/table expected)
local expediaPostTripSurvey = {
'ESV-va75-894136980',
'ESV-va75-699159145',
}
if tableEx.contains(expediaPostTripSurvey, survey.getSurveyId()) then
--[[ DEBUGGING -- testing set tpid
response.setAnswerSingle(tpidCode, '26')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment