From d19e986a3e4f2cd19a1762893d7ff22cf1176861 Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sun, 7 Aug 2016 08:42:36 -0700 Subject: [PATCH] Fixed favouriting notification texts. --- app/Models/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!');