added <> NULL to getLineage call. Prevents recurring events from wiping out other events with null recurId's within their span
This commit is contained in:
parent
e9588a0b65
commit
ea75fd538f
2 changed files with 4 additions and 2 deletions
|
|
@ -1433,9 +1433,8 @@ sub processPropertiesFromFormPost {
|
|||
returnObjects => 1,
|
||||
includeOnlyClasses => ['WebGUI::Asset::Event'],
|
||||
joinClass => 'WebGUI::Asset::Event',
|
||||
whereClause => qq{Event.recurId = "$old_id"},
|
||||
whereClause => qq{Event.recurId = "$old_id" and Event.recurId <> NULL}, #without the <> NULL, it pulls in the recurId's
|
||||
});
|
||||
|
||||
$_->purge for @$events;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue