|
|
@ -508,7 +508,7 @@ public class FragmentRules extends FragmentBase {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case EntityRule.TYPE_ANSWER:
|
|
|
|
case EntityRule.TYPE_ANSWER:
|
|
|
|
long identity = jaction.getLong("identity");
|
|
|
|
long identity = jaction.getLong("identity");
|
|
|
|
long answer = jaction.getLong("answer");
|
|
|
|
long answer = jaction.optLong("answer", -1L);
|
|
|
|
EntityIdentity i = db.identity().getIdentity(identity);
|
|
|
|
EntityIdentity i = db.identity().getIdentity(identity);
|
|
|
|
EntityAnswer t = db.answer().getAnswer(answer);
|
|
|
|
EntityAnswer t = db.answer().getAnswer(answer);
|
|
|
|
if (i != null)
|
|
|
|
if (i != null)
|
|
|
|