diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-10-27 19:29:26 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-10-27 19:29:26 +0000 |
commit | 5ccee3fb707400c32e4fc21809cae2a32331d33a (patch) | |
tree | 4a219b7b7fba7b4117c4d8baf802107e93c12bc0 | |
parent | a0e559f5f1ba8e4dc8ed70576a890091488b54ba (diff) | |
download | acf-lib-5ccee3fb707400c32e4fc21809cae2a32331d33a.tar.bz2 acf-lib-5ccee3fb707400c32e4fc21809cae2a32331d33a.tar.xz |
Add error checking for db database engine
-rw-r--r-- | db.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -171,6 +171,8 @@ export.listdatabases = function(dbobject) result[#result+1] = table end end + else + error("Invalid database engine", 0) end return result end |