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:
Nik Ogura 2007-05-02 16:42:21 +00:00
parent e9588a0b65
commit ea75fd538f
2 changed files with 4 additions and 2 deletions

View file

@ -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 {