Commit 5d85cd7e authored by Custom2043's avatar Custom2043
Browse files

Add null security

parent 71369d22
No preview for this file type
......@@ -50,8 +50,9 @@ public class TokenCreator
else
{
if (result.getSearch().getSearchName() != null)
for (int i=0;i<result.getArray().length;i++)
write(build, result.getSearch().getSearchName(), pos, max, result.getArray()[i]);
if (result.getArray() != null)
for (int i=0;i<result.getArray().length;i++)
write(build, result.getSearch().getSearchName(), pos, max, result.getArray()[i]);
if (result.getArray() != null)
for (int i=0;i<result.getArray().length;i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment