mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Prevent crash
This commit is contained in:
parent
af318125d1
commit
c71bd88789
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class EntityRule {
|
||||||
|
|
||||||
boolean execute(Context context, EntityMessage message) throws JSONException, IOException {
|
boolean execute(Context context, EntityMessage message) throws JSONException, IOException {
|
||||||
boolean executed = _execute(context, message);
|
boolean executed = _execute(context, message);
|
||||||
if (executed) {
|
if (id != null && executed) {
|
||||||
DB db = DB.getInstance(context);
|
DB db = DB.getInstance(context);
|
||||||
db.rule().applyRule(id);
|
db.rule().applyRule(id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue