Fixed Activity Mailing Issue

This commit is contained in:
Lucas Bartholemy 2014-04-01 20:13:25 +02:00
parent 984fa6c13d
commit 9a15546dff

View File

@ -170,7 +170,7 @@ class Activity extends HActiveRecordContent {
$workspace = Space::model()->findByPk($this->content->space_id);
}
$user = $this->content->getUser();
$user = $this->content->user;
if ($user == null)
return;