summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-04-07 15:03:54 +0000
committerTed Trask <ttrask01@yahoo.com>2010-04-07 15:03:54 +0000
commitdb3654f905328903fc2157baa0529eabd49997c6 (patch)
tree7848f49b6977e52d7706639f745bf0c4d1eb50d2
parente0e0af703b2b68f7a70334f0150f0c80bc69be9e (diff)
downloadacf-did-db3654f905328903fc2157baa0529eabd49997c6.tar.bz2
acf-did-db3654f905328903fc2157baa0529eabd49997c6.tar.xz
Fixed searching to work with dashes in DIDs.
-rw-r--r--did-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/did-model.lua b/did-model.lua
index 6ee4049..0c2a343 100644
--- a/did-model.lua
+++ b/did-model.lua
@@ -727,7 +727,7 @@ function getdefinitionlist(did, extension, identification, description, departme
local res, err = pcall(function()
local connected = databaseconnect(DatabaseUser)
if def.value.extension.value == "" then
- def.value.definitions.value = listdefinitions(did, identification, description, department)
+ def.value.definitions.value = listdefinitions(stripdash(did), identification, description, department)
else
def.value.definitions.value = listuseddefinitions(stripdash(did), extension, identification, description, department)
--[[ local tmp = listunuseddefinitions(stripdash(did), identification, description, department)