diff --git a/swat/scripting/common.js b/swat/scripting/common.js index d7252b3bf94..4fc3884db6f 100644 --- a/swat/scripting/common.js +++ b/swat/scripting/common.js @@ -160,7 +160,7 @@ function simple_table(v) { attribute */ function multi_table(array, header) { - if (elcount(v) == 0) { + if (elcount(array) == 0) { return; } write("