1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00

Wiki.Dom: Ignore null siteinfo_misc else personal_wikis will fail

This commit is contained in:
gnosygnu 2017-02-21 18:51:27 -05:00
parent 344e709552
commit 8b6bda0b6d

View File

@ -44,6 +44,7 @@ public class Xow_wiki_props {
public void Main_page_ (byte[] v) {main_page = v;}
public void Siteinfo_mainpage_(byte[] v) {siteinfo_mainpage = v;}
public void Siteinfo_misc_(byte[] v) {
if (v == null) return; // exit else will fail for personal wikis which don't have a siteinfo_misc
this.siteinfo_misc = v;
int pipe_0 = Bry_find_.Find_fwd(v, Byte_ascii.Pipe);
if (pipe_0 != Bry_find_.Not_found)