diff --git a/app/Models/Activity.php b/app/Models/Activity.php index 4fcdebda..83ff01ef 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -151,7 +151,7 @@ class Activity extends Model { public function getThumbnailUrlAttribute() { - if (!is_null($this->resource)) + if (is_null($this->resource)) return "/images/icons/profile_small.png"; switch ($this->resource_type) {