Bug fix: make sure that the log is properly filled when creating a notification.

SVN:trunk[774]
This commit is contained in:
Denis Flaven
2010-09-06 09:06:57 +00:00
parent da42afed88
commit 8f982bc5bd

View File

@@ -324,7 +324,7 @@ class ActionEmail extends ActionNotification
$oLog->Set('userinfo', UserRights::GetUser());
$oLog->Set('trigger_id', $oTrigger->GetKey());
$oLog->Set('action_id', $this->GetKey());
$oLog->Set('object_id', $aContextArgs['this->id']);
$oLog->Set('object_id', $aContextArgs['this->object()']->GetKey());
// Note: we have to secure this because those values are calculated
// inside the try statement, and we would like to keep track of as