mirror of https://gitee.com/bigwinds/arangodb
added a check
This commit is contained in:
parent
e0f7eb9df7
commit
93a8c574bd
|
@ -253,7 +253,7 @@ Configuration example document:
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function stringToBoolean(string){
|
||||
if (undefined === string) {
|
||||
if (undefined === string || null === string) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue