diff --git a/doc/THANKS b/doc/THANKS index 7b67d8ea0..beeedf8b2 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -361,6 +361,8 @@ Stuffe Sylphid for suggesting some features +Augusto Urbieta + for reporting a minor bug == Organizations == diff --git a/lib/utils/resume.py b/lib/utils/resume.py index 2c909c30f..78d1d13a5 100644 --- a/lib/utils/resume.py +++ b/lib/utils/resume.py @@ -150,6 +150,9 @@ def resume(expression, payload): if not payload: return None + if not kb.dbms: + return None + substringQuery = queries[kb.dbms].substring select = re.search("\ASELECT ", expression, re.I)