diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-04-07 15:03:54 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-04-07 15:03:54 +0000 |
commit | db3654f905328903fc2157baa0529eabd49997c6 (patch) | |
tree | 7848f49b6977e52d7706639f745bf0c4d1eb50d2 /did-model.lua | |
parent | e0e0af703b2b68f7a70334f0150f0c80bc69be9e (diff) | |
download | acf-did-db3654f905328903fc2157baa0529eabd49997c6.tar.bz2 acf-did-db3654f905328903fc2157baa0529eabd49997c6.tar.xz |
Fixed searching to work with dashes in DIDs.
Diffstat (limited to 'did-model.lua')
-rw-r--r-- | did-model.lua | 2 |
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) |