mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 20:48:00 +01:00
Fixed null detection
This commit is contained in:
parent
555aa35c34
commit
5311577aa2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue