Commit 530dc513 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

parent 00920235
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment