Prevent crash

This commit is contained in:
M66B 2019-10-21 09:06:02 +02:00
parent af318125d1
commit c71bd88789
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ public class EntityRule {
boolean execute(Context context, EntityMessage message) throws JSONException, IOException {
boolean executed = _execute(context, message);
if (executed) {
if (id != null && executed) {
DB db = DB.getInstance(context);
db.rule().applyRule(id);
}