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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user