Skip to content
Snippets Groups Projects
Commit ab49d46c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Handle a case where lib is not an object (?).

parent d25b60b1
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ var lib = argv[0];
var list = argv[1];
var query_string=argv[2];
if(lib==undefined)
if(lib == null || typeof lib != "object")
lib = load(new Object, "sbbslist_lib.js");
if(list == undefined)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment