1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Scribunto: Fix script error 'NullPointerException' on 1 en.w page

This commit is contained in:
gnosygnu
2017-05-11 22:08:42 -04:00
parent bee71c22fe
commit ffe4c0d094
4 changed files with 16 additions and 2 deletions

View File

@@ -43,6 +43,10 @@ public class Keyval_ {
int len = ary.length;
for (int i = 0; i < len; i++) {
Keyval itm = ary[i];
if (itm == null) {
sb.Add("<<NULL>>");
continue;
}
sb.Add(itm.Key()).Add("=");
Object itm_val = itm.Val();
if (Type_adp_.Eq_typeSafe(itm_val, Keyval[].class))