diff --git a/app/Models/Activity.php b/app/Models/Activity.php index 526f202e..f9c1661f 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -217,7 +217,7 @@ class Activity extends Model { } case static::TYPE_CONTENT_FAVOURITED: - return "{$this->initiatingUser->display_name} favourited your {$this->resource->type}, __{$this->resource->title}__!"; + return "{$this->initiatingUser->display_name} favourited your {$this->resource->getResourceType()}, {$this->resource->title}!"; default: throw new \Exception('This activity\'s activity type is unknown!');