Skip to content
Snippets Groups Projects
Commit c4aaffd2 authored by Markus Escher's avatar Markus Escher
Browse files

fix missing column in Activity onDelete

parent 298fa9d0
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import("Sql_lib");
import("Context_lib");
var activityObjectsCondition = SqlCondition.begin()
.andPrepare("AB_OBJECTRELATION.OBJECT1_TYPE", ContextUtils.getCurrentContextId())
.andPrepare("AB_OBJECTRELATION.AB_OBJECTRELATIONTYPE1", ContextUtils.getCurrentContextId())
.andPrepareVars("AB_OBJECTRELATION.OBJECT1_ROWID", "$field.ACTIVITYID");
db.deleteData("AB_OBJECTRELATION", activityObjectsCondition.build("1=2"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment