summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swat/scripting/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/swat/scripting/common.js b/swat/scripting/common.js
index d7252b3bf9..4fc3884db6 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("<table class=\"data\">\n");